File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes java.lang.OutOfMemoryError: PermGen space Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "java.lang.OutOfMemoryError: PermGen space" Watch "java.lang.OutOfMemoryError: PermGen space" New topic
Author

java.lang.OutOfMemoryError: PermGen space

Abhishek Hans
Greenhorn

Joined: Sep 02, 2009
Posts: 3
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.
 
wood burning stoves
 
subject: java.lang.OutOfMemoryError: PermGen space
 
Similar Threads
Scriptlet vs JSTL
What is PermGen space?
Start Admin server
OutOfMemoryError starting Jetty server
Issues with welcome file list in jsf