cancel
Showing results for 
Search instead for 
Did you mean: 

Clear meaning of tomcat.generaloptions=-Xmx2G -XX:MaxPermSize=300M in project.properties

Former Member
0 Kudos

Please explain in detail what does it signify in properties file. and what should be the permissible values for the following properties.

P.S : I am new to hybris

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

-XX:PermSize -XX:MaxPermSize are used to set size for Permanent Generation.

Permanent Generation: The Permanent Generation is where class files are kept. These are the result of compiled classes and jsp pages. If this space is full, it triggers a Full Garbage Collection. If the Full Garbage Collection cannot clean out old unreferenced classes and there is no room left to expand the Permanent Space, an Out‐of‐ Memory error (OOME) is thrown and the JVM will crash.

Answers (0)