users@glassfish.java.net

Re: How to use -XX:OnOutOfMemory with GlassFish

From: <glassfish_at_javadesktop.org>
Date: Tue, 12 May 2009 09:25:21 PDT

There is one more issue that should be mentioned.
You did not speak about what you are trying to do to get rid
of your OutOfMemory error in the first place. As you probably
know, it is usually either a memory leak in your application
code which should be fixed - or possibly issues related to
capacity planning for your deployment environment.

Really all the points discussed in this thread should be viewed
as "last resort" kinds of things. Systems should generally run
without running out of memory.

Just thought this should be mentioned.
[Message sent by forum member 'lwhite' (lwhite)]

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