Hello QM,

As Matt had suggested, i check and there was a jsp from one of the other
apps running, that was not invalidating sessions. I found 9000+ sessions of
that jsp. The jsp now invalidates its sessions and hopefully things will be
better.

As the app is still under development the load is almost nothing hence the
needs of the heap should not be great. I have been running the same app on
my machine locally and have not had any memory issue as of yet.
 
Thanks for the help guys.

Regards,
Nandish Rudra
ECI Conference Call Services, LLC

-----Original Message-----
From: QM [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 17, 2004 4:25 PM
To: Tomcat Users List
Subject: Re: OutOfMemory Exceptions AGAIN


On Tue, Aug 17, 2004 at 02:13:40PM -0400, Nandish Rudra wrote:
: Thanks for the reply. When I get an http request I do not attach any
session
: information or create and cookies/httpsessions and not using tomcat
: clustering, would the sessions still be serialized.

You may not explicitly put anything in a session, but they can still be
created.  For example, do all of your JSPs call

        <%@ page session="false" %>

?

As for your other point:

:I can change the -Xmx to 256 or512 but that is not a solution, its just
:a way of temporarily getting awayfrom the problem.

Not necessarily true.  Your app may just need more than 128M heap size.

Have you load-tested the app, with your expected number of concurrent
users, to see what the app's mem usage would be?

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to