File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Java in General
Bookmark "catalina.out and java.lang.OutOfMemoryError" Watch "catalina.out and java.lang.OutOfMemoryError" New topic

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

Could anyone suggest what I should do to stop this error.
I am using Linux.
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?

I agree. Here's the link:
subject: catalina.out and java.lang.OutOfMemoryError
It's not a secret anymore!