Recently, a bug showed up in my stack: "java.lang.OutOfMemoryError: PermGen space"I loathe these kinds of bugs. They're notoriously difficult to reproduce, and tough to isolate.Coincidentally, around that time Gregg Sporar posted about this very type of memory leak: http://weblogs.java.net/blog/gsporar/archive/2006/09/javazone_sessio.htmlHe suggests using jmap to see what's in PermGen space...