> 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