HI Dan,
Even I faced the same problem sometime ago,
but then i realised that the scope of the JSP which was session, was actually not required, since I wrapping the variables in to a stateful session bean. The scope of the jsp page was required only till a request ends, so I changed that to scope to "request", By this the memory also got released after every request.
I suppose your situation is also similar to mine, try this out.
 
Suresh Ajja
Java Developer
www.verchaska.com
mailto: [EMAIL PROTECTED]
----- Original Message -----
Sent: Wednesday, January 24, 2001 1:29 AM
Subject: Memory Leak

Hello,

I am using JSP <useBean> tags to invoke java beans. In my java beans I create a reference to my EJB's. In my JSP I scope the bean as session. In other words the syntax looks as follows:

<jsp:useBean id="fooBean"  scope="session"    class="FooBean" />

What we are noticing is that every time the page is called, a certain amount of memory is used by each session as expected by the session scope. However, when the session is complete, the memory is not released by the JVM. The end result is that we need to stop Orion server and restart to clear the JVM memory usage. Can anyone advise as to what we need to do.

 

Thanks

-Dan



Get your FREE download of MSN Explorer at http://explorer.msn.com

Reply via email to