GlassFish config : Increase memory

Configuring "domain.xml" in /glassfish/domain/domain1/config

 <jvm-options>-XX:MaxPermSize=192m</jvm-options>
It could cause the exception: java.lang.OutOfMemoryError: PermGen space  (https://blogs.oracle.com/fkieviet/entry/classloader_leaks_the_dreaded_java)
Set it to higher value eg- 192m or 256m.

评论

此博客中的热门博文

Java Base == & equals

Double.NaN Float.NaN

Comparison of C Sharp and Java