jQuery in Action, 2nd edition*
The moose likes Tomcat and the fly likes Tomcat and Permgen space Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat and Permgen space" Watch "Tomcat and Permgen space" New topic
Author

Tomcat and Permgen space

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hi all only basic knowledge with servers (only till deployment of resources )

Tomcat and Permgen space



I am frequently facing permgen space , (May be i had put up a lot of web applications)

I need to increase the permgen space .

"This sets the max permgen available to Tomcat at 256Mb of memory:-XX:MaxPermSize=256m" read somewhere but did not mention how to put this line inside catlina.bat .

Please tell me where and how in catilina.bat i should add this ??

Thanks in advance.

Save India From Corruption - Anna Hazare.
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

Ravi Pavan wrote:
I need to increase the permgen space .




open your catalina.bat and put the above line in very first statement.

Hope this helps
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hope this helps

Yes it helped a lot . Thanks

and also please tell me how can i set the -xms and -xmx settings in Tomcat .
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat and Permgen space