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