Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

catalina.out and java.lang.OutOfMemoryError  RSS feed

 
Sanjeev Shahi
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!