File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat and Permgen space

 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 .
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic