Ankit Kumar wrote on 22.12.2009 05:15:
> It appears the driver class is loading all entity objects in memory and
> not releasing them as expected in a scroll operation.
Just enable "query based retrieval" and the driver does not load everything into memory.
In response to
pgsql-jdbc by date
|Next:||From: rsmogura||Date: 2009-12-22 07:54:48|
|Subject: Re: OutOfMemory hibernate scroll with 2M records | Postgresql 8.4 DB|
|Previous:||From: Craig Ringer||Date: 2009-12-22 04:49:33|
|Subject: Re: OutOfMemory hibernate scroll with 2M records | Postgresql