quality@glassfish.java.net

Re: Is anyone else hitting 'OutOfMemoryError: PermGen space' on a regular basis with GlassFish 3.0 ?

From: Paul Merlin <eskatos_at_n0pe.org>
Date: Thu, 12 May 2011 10:49:31 +0200

Quoting Richard Kolb <rjdkolb_at_gmail.com>:
> Then your suggestion of a health monitor needs to be implemented on a IDE
> level or as a GlassFish watch dog layer ?

The jvm already implements what's needed for monitoring PermGen.
IMO, from a container point of view this issue is a PEBKAC [1] so going the
health monitor way would be better outside the container to help detect such
user errors during development.

/Paul

[1] http://en.wikipedia.org/wiki/User_error#PEBKAC