Re: [INTERFACES] OutOfMemoryException ??

Поиск
Список
Период
Сортировка
От Peter T Mount
Тема Re: [INTERFACES] OutOfMemoryException ??
Дата
Msg-id Pine.LNX.3.96.980710185007.6715C-100000@maidast.retep.org.uk
обсуждение исходный текст
Ответ на OutOfMemoryException ??  (John Reilly <jr@broadcom.ie>)
Список pgsql-interfaces
On Fri, 10 Jul 1998, John Reilly wrote:

> Hi all,
>     Someone wrote asking about an out of memory exception recently.
> I had a similar problem with javac.
>
> The solution : give the jvm more memory with the -mx switch
>
> java -mx48m .......
> to give it 48 Megs.
>
> The default is 16M

I forgot about that one. I'll add it to the JDBC driver's documentation.

This can be a problem when queries return a lot of results. Another way
around it would be to use cursors with the queries when ever possible.

--
Peter T Mount peter@retep.org.uk or petermount@earthling.net
Main Homepage: http://www.retep.org.uk
************ Someday I may rebuild this signature completely ;-) ************
Work Homepage: http://www.maidstone.gov.uk Work EMail: peter@maidstone.gov.uk


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

Предыдущее
От: Peter T Mount
Дата:
Сообщение: Re: [INTERFACES] postgres for spatial data
Следующее
От: Jeffrey Napolitano
Дата:
Сообщение: JDBC drivers