wood burning stoves 2.0*
The moose likes Websphere and the fly likes java.lang.OutOfMemoryError in WAS 5.1.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "java.lang.OutOfMemoryError in WAS 5.1.1" Watch "java.lang.OutOfMemoryError in WAS 5.1.1" New topic

java.lang.OutOfMemoryError in WAS 5.1.1

punna Kumar
Ranch Hand

Joined: Feb 28, 2005
Posts: 80
I am Using WAS 5.1.1. i am getting OutOfMemoryError, Websphere starts up successfully without any error.But when I request url, it throws exception:

[2/27/06 20:34:43:448 GMT+05:00] 84c1f9 WebGroup E SRVE0026E: [Servlet Error]-[]: java.lang.OutOfMemoryError

how i can slove the problem. it's happening when the jsp's are loading.

please help me

jeetu krishnan

Joined: Feb 13, 2006
Posts: 12
What was the Xms,Xmx specified when the server was started?
Try increasing the value.
Try to profile the application using WSAD and see how much of heap is getting used.
punna Kumar
Ranch Hand

Joined: Feb 28, 2005
Posts: 80
thanks for reply

Can u please tell me how to increse the heap memory size in WAS 5.1.1 and where to set it.Please tell me the correct path.

Thanks in Advance.

punna Kumar
Ranch Hand

Joined: Feb 28, 2005
Posts: 80
thanks for Help?

I sloved the problem?

Edward Smith

Joined: Mar 09, 2006
Posts: 1

How did you solve the problem? We've tried to add a large Xmx parameter to our startServer.sh but still wind up with an OutOfMemoryError when trying to stop and restart our Ear.
I agree. Here's the link: http://aspose.com/file-tools
subject: java.lang.OutOfMemoryError in WAS 5.1.1
Similar Threads
Adding a jar to websphere's classpath
OutOfMemoryError in Accessing CICS Transaction from JAVA in WebSphere 3.5
JMS Listener in the Web Container.
Error while doing a feature update in WSAD
Edit JSP or Servlet refresh error