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.
That's documented:
http://jdbc.postgresql.org/documentation/84/query.html#query-with-cursor
Just enable "query based retrieval" and the driver does not load everything into memory.
Thomas