简体   繁体   中英

Permgen space error tomcat

I just installed two tomcat in my machine and deployed same application on both. Both application and tomcats are running great. Now i tried adding both the services to services.msc. I done this successfully. Now i can start and stop any service from services.msc. But on accessing both application simultaneously, i found, i am able to access only one application and when i am trying to access other application, the corresponding service goes stop with a permgen space error in the logs.

I tried increasing space of ms and mx and also i found that "Path to executable" under tomcat6w.exe is same.

Now my concern is how to remove that permgen space error. In my points it looks that both services are using one tomcat.

Can you guys please help me in overcoming this problem.

Set XX:MaxPermSize . It will increase the PermSize of your JVM. For example -XX:MaxPermSize=64m . Reference

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM