Re: JDBC memory usage

Поиск
Список
Период
Сортировка
От jao@geophile.com
Тема Re: JDBC memory usage
Дата
Msg-id 1090607761.41015a91d8bd8@geophile.com
обсуждение исходный текст
Ответ на JDBC memory usage  (Bill Schneider <bschneider@vecna.com>)
Список pgsql-jdbc
Quoting Bill Schneider <bschneider@vecna.com>:

> Hello,
>
> I noticed that I keep running out of memory when trying to run a query
> that returns 100,000 rows or so.
>
> Searching the archives, it seems that the JDBC driver reads the entire
> ResultSet into memory at once rather than using cursors.  This is
> definitely not the desired behavior for this particular query.
>
> Has this been fixed recently?  I'm using PostgreSQL 7.3.4 with the
> corresponding JDBC driver.

I ran into this problem. The driver developers informed me that
this problem is fixed in 7.4, and that the new driver can be used
with a 7.3 server. (This exchange should be in the pgsql-jdbc
archives.)

Jack Orenstein

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

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

Предыдущее
От: Bill Schneider
Дата:
Сообщение: JDBC memory usage
Следующее
От: Yi LIN
Дата:
Сообщение: conflict txns in serialization isolation