Re: java.lang.OutOfMemory: request vs. session scope memory use

2002-02-04 Thread Joe Cheng
That's an incredible amount of memory to be using up!! Are you sure it's not buggy application-level code or perhaps a poorly implemented third-party library? (Didn't the ODBC-JDBC bridge used to have a memory leak?) What kind of data are you storing in the session/request? How much traffic ar

Re: java.lang.OutOfMemory: request vs. session scope memory use

2002-02-04 Thread Anton Tagunov
Hello Hannah! Not an expert, but all the measures (except measure 6) are targeted at reducing the total number of objects in memory. Yes, transferring objects from session to request scope is good for the following reason: imagine a user presses a link once in a minute. If the bean is in the se

java.lang.OutOfMemory: request vs. session scope memory use

2002-02-04 Thread Hannah Liebe
The Jrun 3.02/IIS 4.0/NT 4.0/JVM 1.3.0_02 servers all seem to run out of memory(JVM configured at min=max= 512MB) after about 12 hours: java.lang.OutOfMemoryError <> A search of the archives suggested several ways to save memory: 1) closing all DB objects like result set, prepared statem