Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

catalina.out and java.lang.OutOfMemoryError

 
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic