This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
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.
 
Don't get me started about those stupid light bulbs.
 
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