users@glassfish.java.net

Can i keep ONLY the Most recently used HttpSessions in memory?

From: <glassfish_at_javadesktop.org>
Date: Thu, 23 Sep 2010 08:50:20 PDT

Hi,

Whenever we run a load test we run out of memory. We have realized that GlassFish doesn't serialize the http sessions to disk even if memory usage is 100%.

Is there a way for us to set a max idle timeout and min idle timeout for sessions like we do in tomcat. So if the container is running out of memory, it can start by serializing those sessions that have been idle for more than -let us say/ 5 minutes?

Thanks in advance,
Pablo.
[Message sent by forum member 'pablopina']

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