On 10/20/06, Milan Kubec <[EMAIL PROTECTED]> wrote:
Peter Reilly wrote:
> On 10/18/06, Steve Loughran <[EMAIL PROTECTED]> wrote:
>> Milan Kubec wrote:
>> > Hello,
>> > I want ant to generate heap dump when OutOfMemoryError happens during
>> > the build to find the problem in the task. I tried add
Peter Reilly wrote:
On 10/18/06, Steve Loughran <[EMAIL PROTECTED]> wrote:
Milan Kubec wrote:
> 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:+HeapDumpOnOutOfMemo
On 10/18/06, Steve Loughran <[EMAIL PROTECTED]> wrote:
Milan Kubec wrote:
> 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:HeapDum
Milan Kubec wrote:
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 p
try updating the ant shell/batch file. I am using
1.6.2 in Windows, so looking at
\apache-ant-1.6.2\bin\ant.bat
this is what I would do (see where I place your
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=e:\ant.hprof):
:runAnt
if not "%CLASSPATH%"=="" goto runAntWithClasspath
"%_JAVACMD%"
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 word