On Jan 12, 2008 1:06 AM, Dain Sundstrom <[EMAIL PROTECTED]> wrote:

> I start the server and use a profiler to see how many class loaders I
> have.  Then I deploy the app, and note new class loaders.  Finally, I
> undeploy the application and see which of the new class loaders have
> not been garbage collected.   Now you use your profiler to see what
> is holding on to the class loader (the GC roots that have a hard
> reference chain to the class loader).
>
> I strongly suggest you use YourKit to profile the app.  You can get a
> free license as an Apache committer, but I'm not sure how.  If you
> are a codehaus committer, the YourKit license key is xircles.
>
> Alternatively, I can take a look at this next week.

No, you don't have to, but I'll keep that in mind, though. Your
suggestions made me confident I can do it myself. Although I've never
used YourKit before I'd like to see how it helps. Thanks!

Jacek

-- 
Jacek Laskowski
http://www.JacekLaskowski.pl

Reply via email to