hi i personally fell disabling the session in tomcat is not the correct solution to overcome the memory out of error. just try to asign null for unused objects. hope it resolve your issue.
bye with regards prakash.s On 3/13/07, acec acec <[EMAIL PROTECTED]> wrote:
Hi, Remy After I added <%@ page session="false" %> into /apache-tomcat-6.0.10/webapps/examples/jsp/tagplugin/foreach.jsp , I could not reproduce OutOfMemoryError. But if I add <%@ page session="false" %> into my application, my jsp could not get information from session. How can I walk around this problem? Thanks. Arden --- Rémy Maucherat <[EMAIL PROTECTED]> wrote: > On 3/12/07, Filip Hanik - Dev Lists > <[EMAIL PROTECTED]> wrote: > > add -XX:+HeapDumpOnOutOfMemoryError to your > JAVA_OPTS, then you can zip > > up the file that gets generated, make it available > to us and I'll take a > > look at it > > Most likely it's because of session creation. (you > should not be too > naive about problem reports, I think :D) > > -> Add <%@ page session="false" %> before testing > the page, or make > the client send a cookie with the session id. > > Rémy > > --------------------------------------------------------------------- > To start a new topic, e-mail: > users@tomcat.apache.org > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Thanks and Regards S.Prakash