"Shapira, Yoav" wrote:
> 
> Howdy,
> 
> >root cause
> >
> >java.lang.OutOfMemoryError
> >
> >
> >It happens When the corresponding request returns more than 20000-30000
> >rows from the database, not every time


 
> Perhaps you should allocate your JVM more memory, by using the Java -Xmx
> parameter. 

I did it and I gave 512 Mb.

It works better but why are the 2000 objects are not garbaged after each
request ?








 Alternatively, consider a system design that retrieves a
> smaller, fixed number of rows instead of "20000-30000" and lets the user
> scroll, say 100 rows at a time.
> 
> Yoav Shapira
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to