tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: OutOfMemory Exception initializing page context
Date Tue, 02 Dec 2003 15:01:38 GMT

Howdy,
Once you're out of memory, the system is in a bad state and must be
restarted.  You will see error messages that are at best meaningless and
at worst misleading, because they will make you look in the wrong
places.  You want to fix the memory issue first, by adding more memory
(via the -Xmx java command-line parameter) or fixing a memory leak if
there's one in your application.

Do not assume, for example, that the IllegalStateException you cite has
anything to do with the OutOfMemory error: it may be a misleading
message thrown by the system after it ran out of memory (even though it
shows up before the OutOfMemoryError in the log) while it was thrashing
to GC stuff by invalidating your sessions.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Rob Wichterman [mailto:rwichterman@nuventive.com]
>Sent: Tuesday, December 02, 2003 9:57 AM
>To: tomcat-user@jakarta.apache.org
>Subject: OutOfMemory Exception initializing page context
>
>Hello,
>
>I am having major memory problem that I have been fighting through.
Has
>any body ever seen this one.  Here are the errors that always come up
in
>my logs.
>
>1.	java.lang.IllegalStateException: getAttribute: Session already
>invalidated
>2.	JspFactoryImpl: Exception initializing page context
>java.lang.IllegalStateException: Cannot create a session after the
>response has been committed
>3.	JspFactoryImpl: Exception initializing page context
>java.lang.OutOfMemoryError
>
>Any help at all would be greatly appreciated.
>
>Thanks,
>
>Rob Wichterman



This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message