Tomcat 7- I can not expand "maximum memory pool"

0

I have a Tomcat 7 with the memory characteristics that the image that I have attached has. We have a problem of "Permgen Space". I tried to expand "maximum memory pool" but if I put more than 1536 it does not start. The server has 3GB of memory but until a few days ago it had 2GB and the problem was the same. How do I solve the PermGen Space problem if I can not give it more memory? How can I give more than 1536MB?

Greetings and thanks. Rob

    
asked by Rober 04.08.2017 в 10:18
source

1 answer

0

You can try the following:

Open or create the setenv.bat file in the bin directory in Tomcat and add something similar to

set CATALINA_OPTS=-server -Xms256m -Xmx1024m -XX:PermSize=512m -XX:MaxPermSize=2048m

In general I advise you to configure Tomcat through the configuration files.

    
answered by 06.11.2017 в 11:38