users@glassfish.java.net

Re: Glassfish Hang - Daily

From: <glassfish_at_javadesktop.org>
Date: Tue, 12 Jan 2010 12:22:21 PST

> 1. Change the compiler from "client" to "server"

I happened to read this yesterday:
http://wiki.glassfish.java.net/Wiki.jsp?page=Faq64bitConfig

According to that you need -d64 instead of -server to actually get the 64-bit JVM.

While you are not getting a PermGen space outofmemory error, you should probably monitor your PermGen memory usage too, which you can do with JVisualVM. We find that we can run out of PermGen easily, especially when deploying updates. Glassfish default configuration already has 192m PermGen, but you may need more.

Regards,
Jim
[Message sent by forum member 'culli' (jim.cullison_at_gmail.com)]

http://forums.java.net/jive/thread.jspa?messageID=380423