pg.ddx.io pgsql-interfaces@postgresql.org mailing list archive
help / color / mirror / Atom feedOutOfMemoryException ??
2+ messages / 2 participants
[nested] [flat]
* OutOfMemoryException ??
@ 1998-07-10 10:41 John Reilly <jr@broadcom.ie>
0 siblings, 1 reply; 2+ messages in thread
From: John Reilly @ 1998-07-10 10:41 UTC (permalink / raw)
To: dicey@redbrick.dcu.ie; pgsql-interfaces; +Cc: 93437307@dcu.ie
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
J
--
-----------------------------------------------------------------------------
John Reilly - jr@broadcom.ie Tel: +353 1 6046006 Fax: +353 1
6761532
-----------------------------------------------------------------------------
Programmer - A red-eyed, mumbling mammal capable of conversing with
inanimate
objects. Approach with extreme caution!
-----------------------------------------------------------------------------
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: [INTERFACES] OutOfMemoryException ??
@ 1998-07-10 17:51 Peter T Mount <peter@retep.org.uk>
parent: John Reilly <jr@broadcom.ie>
0 siblings, 0 replies; 2+ messages in thread
From: Peter T Mount @ 1998-07-10 17:51 UTC (permalink / raw)
To: John Reilly <jr@broadcom.ie>; +Cc: dicey@redbrick.dcu.ie; pgsql-interfaces; 93437307@dcu.ie
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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~1998-07-10 17:51 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1998-07-10 10:41 OutOfMemoryException ?? John Reilly <jr@broadcom.ie>
1998-07-10 17:51 ` Peter T Mount <peter@retep.org.uk>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox