I have used the -XX:+HeapDumpOnOutOfMemoryError
option in ANT_OPTS,
caused the OOM,
and run yourkit http://www.yourkit.com/changes/index.jsp#memory
to analyize the heap file.
Pretty nice.

Peter


On 1/11/07, Steve Loughran <[EMAIL PROTECTED]> wrote:

What's the best way to memory profile Ant?

We have an interesting problem at work where <rmic> is  running out of
memory when run in an ivy-managed <subant> Run, but not when run
standalone. So something is eating up lots of memory, and <rmic> is the
symptom, not the problem. Same problem on Ant1.6 and 1.7, java1.4 and
1.5 BTW.

I suspect Ivy may be the cause, it being the most recent change, and it
does have that singleton configuration....

-steve

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to