I tried to use Java VisualVM from JDK 6 (sorry, I couldn't figure out how to 
export the result)

* number of classes loaded keep increasing starts at 1500, then peaked at 6500. 
During this period, total unloaded shows 37.
* PerGen starts at 8MB, and peak at 63M

* Under Sampler > PermGen 
histogram                                                  

    Read-Only Method Metadata Bytes=28,679,824 (47.0%) Instances=179,166 (43.3%)
    Read-Write Method Metadata Bytes=14,338,520 (23.5%) Instances=179,166 
(43.3%)
    ...

Is this information useful?


>________________________________
> From: Vimil Saju <vimils...@yahoo.com>
>To: Ant Developers List <dev@ant.apache.org>; Charles Chan 
><cchan...@yahoo.com> 
>Sent: Monday, June 25, 2012 3:03:25 PM
>Subject: Re: "OutOfMemoryException: PermGen space" error with Ant?
> 
>
>Did you try getting a heap dump? You can then use either  VisualVM or MAT to 
>detect memory leaks 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org

Reply via email to