ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Milan Kubec <Milan.Ku...@Sun.COM>
Subject How to dump heap on OutOfMemoryError from ant
Date Wed, 18 Oct 2006 21:28:21 GMT
Hello,
I want ant to generate heap dump when OutOfMemoryError happens during the build 
to find the problem in the task. I tried adding following switches to .antrc 
file: -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=e:\ant.hprof
But it doesn't seem to get to the correct process, in other words - nothing 
happens. Is there some other way to generate heap dump from ant. I'm using Ant 
1.6.5 on JDK 1.5.0_09.

Thanks

   Milan Kubec

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message