ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Chan <cchan...@yahoo.com>
Subject Re: "OutOfMemoryException: PermGen space" error with Ant?
Date Tue, 26 Jun 2012 01:00:39 GMT
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 <vimilsaju@yahoo.com>
>To: Ant Developers List <dev@ant.apache.org>; Charles Chan <cchan_qa@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-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message