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.