Re: OutOfMemoryError - bug or human error?

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: OutOfMemoryError - bug or human error?
Дата
Msg-id Pine.LNX.4.33.0401260838010.18726-100000@leary.csoft.net
обсуждение исходный текст
Ответ на OutOfMemoryError - bug or human error?  (Fischer Krisztián <fischer@borganization.com>)
Список pgsql-jdbc

On Mon, 26 Jan 2004, [ISO-8859-2] Fischer Kriszti�n wrote:

> Hi all!
>
> I execute a select on a table which contains large rows. None the less i
> use the setFetchSize() method i get an OutOfMemeoryError.
> In my test I craeted a table with an 'int' and a 'text' column. The text
> column - in each row - is filled with a string constructed of 65536
> characters. The problem is there even if I use a fetch size of 2 rows!

The problem is that the fetch size is ignored when using a ResultSet of
TYPE_SCROLL_INSENSITIVE.  This only works for TYPE_FORWARD_ONLY.

Kris Jurka


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

Предыдущее
От: Fischer Krisztián
Дата:
Сообщение: Re: executeUpdate() deadlock
Следующее
От: Barry Lind
Дата:
Сообщение: Re: Using gettext for JDBC translations