Here is an interesting one,
If I package my application up as a JAR and put it in WEB-INF/lib then I get
memory leaks in the perm gen space as none of the Class objects are garbage
collected. This is easily re-producable every time. If however I put the
application's .class files inside WEB-INF/class and don't bother with the
JAR then it will work fine, no memory leaks, runs forever.
Any ideas on what I'm doing wrong or if there is some subtle issue with
classloaders here that I don't understand ?
resin-interest mailing list