I have also experienced the same problems, not yet with Orion but with Bluestone.  The problem is the same no matter what application server you are using.  You must understand that the Application Server is "open-ended".  That means that the app server will continue to accept new session requests until the memory is exhausted.  If all of the sessions are "active", then the gc cannot reclaim any memory.  That is why people run clusters.  Usually, for high traffic websites with a high session timeout setting, people run multiple app servers to handle the load.
 
If you do some testing, you will see that based on a session timeout setting of xx minutes, Orion can handle a maximum of xxxxx sessions.
 
At another company I worked at, we found this out the hard way (after spending $200,000.00 for the Bluestone server).
 
My suggestions to you are:
1.  Look to see if you can lower the session timeout value.
2.  Do some testing to see how many concurrent sessions Orion can handle before running out of memory (this is mainly based on the amount of data put into session).
3.  Consider running multiple app servers (cluster).
 
Hope this helps...........
 
Regards,
Tom Pridham
Software Engineer
Computer Management Consultants
6951 Pistol Range Road
Tampa, FL  33536
813-935-7332 ext. 165
813-854-4538 - Fax
http://www.cmctpa.com
http://www.oakscape.com
 
-----Original Message-----
From: Dan DiCesare [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 23, 2001 2:59 PM
To: Orion-Interest
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