*
The moose likes Java in General and the fly likes catalina.out and java.lang.OutOfMemoryError 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 » Java » Java in General
Bookmark "catalina.out and java.lang.OutOfMemoryError" Watch "catalina.out and java.lang.OutOfMemoryError" New topic
Author

catalina.out and java.lang.OutOfMemoryError

Sanjeev Shahi
Ranch Hand

Joined: Feb 26, 2001
Posts: 83
I am getting following error in catalina.out
Action Taken - None Specified
java.lang.OutOfMemoryError

Could anyone suggest what I should do to stop this error.
I am using Linux.
thanks
SS
Sanjeev Shahi
Ranch Hand

Joined: Feb 26, 2001
Posts: 83
Okay so it seems no one has worked with this. Surfing net I got following command to limit the Heap size
java -Xms<size>
set initial Java heap size. default:Xms32m
java -Xmx<size>
set maximum Java heap size. default:Xmx128m
So now my Questions are
1. how we can know what are current size before making these changes?
2. Where should I put these code. As lots of Applications are running on my machine?

thanks,
SS
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: catalina.out and java.lang.OutOfMemoryError
 
Similar Threads
catalina.out and java.lang.OutOfMemoryError
startNodeManager.sh and startWeblogic.sh doesn't start to execute
How Do I Find a Memory Leak?
OutOfMemoryError in Accessing CICS Transaction from JAVA in WebSphere 3.5
how to get rid of java.lang.outof memoryerror