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.

评论

此博客中的热门博文

XML, XSL, HTML

Input in element.eleme.io

Data URI是由RFC 2397 ACE