users@glassfish.java.net

Re: JPA Java Heap problem

From: <glassfish_at_javadesktop.org>
Date: Sun, 11 Nov 2007 23:35:09 PST

>
> Problem:
> Since I am using the JPA to avoid the tight
> interaction with the DB, the data are persisted in
> the memory, Which leads to the Java Heap Memory
> problem, when I am going to one page to another.
> Because the page has to show all records from the
> database table (Lazy loading is used for the LOB).

Why not try paginating the records fetched from DB ?
[Message sent by forum member 'cprashantreddy' (cprashantreddy)]

http://forums.java.net/jive/thread.jspa?messageID=244991