"Chankapure, Nagsen" wrote:
>
> I m  experiencing run away Jrun process frequently. And the problem is that
> JRun is hung because of OutOfMemoryError and eating up 95% of CPU. What
> options do I have for resolving this problem.  This has been an urgent
> production problem  for some time now and I need to get it resolved.  Any
> advice would be greatly appreciated.

The best solution would be to determine why the OutOfMemoryError occurs, and fix
that problem. If you have a tool that can show memory usage in your classes, use
that to determine which objects are using all the memory. If you don't have a
tool, put try-catch blocks around the code to catch the OutOfMemoryError. Once
you've determined the cause of the memory consumption, re-engineer your classes
to use less memory.

K Mukhar

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to