Re: Out of memory error

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: Out of memory error
Дата
Msg-id Pine.LNX.4.33.0312091646290.3369-100000@leary.csoft.net
обсуждение исходный текст
Ответ на Out of memory error  ("Andrea Cannarsa" <a.cannarsa@cogitas.it>)
Список pgsql-jdbc

On Tue, 9 Dec 2003, Andrea Cannarsa wrote:

> Hello, i have a problem with my jdbc driver. When i do a select on a
> table within a blob object my java application send an error message :
> "java.lang.out.of.memoryerror". Now i have try the same select with
> EMS PostgreSQL Manager and the resultset is correct. I'm using the
> PostgreSQL ver. 7.3 for windows and the "pg73jdbc3.jar JDBC - Driver".
>
> Who can help me? How can i solve my problem?
>

How big is the bytea field?  The JDBC driver is not very efficient with
transferring this and may use 2 or 3 times the memory required.  Consider
increasing the memory available to the JVM.  Also if the query returns
multiple rows consider streaming the result set using setFetchSize().

Kris Jurka



В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Sam Vaitheeswaran
Дата:
Сообщение: Fwd: Re: CMP Bean problem
Следующее
От: Mofeed Shahin
Дата:
Сообщение: Re: Multi column foreign keys.