This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.lang.OutOfMemoryError: PermGen space

 
Abhishek Hans
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have Tomcat 7.0.4 x64
I have set the Initial Mem Pool to 1024
Max Mem Pool to 3072
Thread Stack to 3000


Every second day I get java.lang.OutOfMemoryError: PermGen space
I have set the following in Env parameter JAVA_OPTS=
-server -XX:NewSize=256m -XX:MaxNewSize=256m -XX:PermSize=256m -XX:MaxPermSize=256m

What am I doing worng? which is the correct way to set the parameters?

Thanks,
Abhishek.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic