From: adiddi@hss.hns.com
To: pgsql-interfaces@postgresql.org
Subject: RE: Postgres JDBC Driver : java.lang.OutOfMemoryError
Date: Fri, 8 Dec 2000 19:22:39 +0530
Message-ID: <652569AF.004BAF1F.00@sandesh.hss.hns.com> (raw)
Hi Peter,
Thanks a lot. It worked : java -xmx128m my.app.classfile
So, it turned out to be the JVM memory heap size issue - not a JdbcDriver
issue.
The resultset was really not that big !
But the jdbcDriver does have hardcoded values 8192 etc. at lot of places in the
PG_Stream, connection and other classes.
Thanks again
Anil
Peter Mount <petermount@maidstone.gov.uk> on 12/08/2000 05:11:42 PM
To: Anil Diddi/HSS@HSS, pgsql-interfaces@postgresql.org
cc:
Subject: RE: [INTERFACES]Postgres JDBC Driver : java.lang.OutOfMemoryError
How big is the ResultSet?
By default the JVM alocates 64Mb of memory. To increase this, you pass the
-Xmx parameter to java, ie:
java -Xmx32m my.app.classfile
where 32m is 32Meg of memory maximum.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: adiddi@hss.hns.com
Subject: RE: Postgres JDBC Driver : java.lang.OutOfMemoryError
In-Reply-To: <652569AF.004BAF1F.00@sandesh.hss.hns.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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