From: Craig Ringer <craig@postnewspapers.com.au>
To: Ankit Kumar <ankitk@xebia.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: OutOfMemory hibernate scroll with 2M records | Postgresql 8.4 DB
Date: Tue, 22 Dec 2009 12:49:33 +0800
Message-ID: <4B304FDD.2090909@postnewspapers.com.au> (raw)
In-Reply-To: <4B3047E7.9020901@xebia.com>
References: <4B3047E7.9020901@xebia.com>
On 22/12/2009 12:15 PM, Ankit Kumar wrote:
> Hi
>
> I am running a Criteria.scroll() on postgresql on a DB containing 2M
> records. The memory keeps increasing and finally it generates an
> OutOfMemoryException. Please can you advice how to fix this.
Why ask for help if you're just going to ignore the advice you get?
You were asked to, when you re-posted to the pgsql-jdbc list, include a
self-contained test case and some logging information, which I explained
how to get.
If you have no respect for the value of the time of the people on this
list, why should anybody bother helping you?
--
Craig Ringer
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: craig@postnewspapers.com.au, ankitk@xebia.com
Subject: Re: OutOfMemory hibernate scroll with 2M records | Postgresql 8.4 DB
In-Reply-To: <4B304FDD.2090909@postnewspapers.com.au>
References: <4B3047E7.9020901@xebia.com> <4B304FDD.2090909@postnewspapers.com.au>
* 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