aspose file tools*
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
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
Author

java.lang.OutOfMemoryError in WAS 5.1.1

punna Kumar
Ranch Hand

Joined: Feb 28, 2005
Posts: 80
Hi,
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

Ravi.
jeetu krishnan
Greenhorn

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.

Ravi
punna Kumar
Ranch Hand

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

I sloved the problem?


Regards,
Ravi.
Edward Smith
Greenhorn

Joined: Mar 09, 2006
Posts: 1
Ravi,

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