Since I'm allocating the JVM 1G for Heap and 370M for PermGen, the OS
runs out of room for all the threads. 

 

I don't know why the threads continually climb while the builds runs.
By the time it dies, the jconsole shows 888 lives threads, 890 peak and
4,013 total.  It seems some of the parallel blocks are not releasing the
thread when they are done.  The jconsole graphs shows continuous growth
in live threads from beginning to end.

 

The top-level script calls 282 module builds using the <ant> task.  The
282 modules are grouped in 37 parallel blocks.  When it dies it is on
the 222nd module, which is in about the 30th of the 37 parallel blocks.
There are other parallel blocks within each module build.

 

I just under covered this problem, after removing a long present problem
that was causing it to run out of Heap memory.

 

I would appreciate any insight anyone might have.

 

Thanks, Mike

 

Windows XP

Apache Ant version 1.7.1 compiled on June 27 2008

java version "1.6.0_10"

Java(TM) SE Runtime Environment (build 1.6.0_10-b33)

Java HotSpot(TM) Client VM (build 11.0-b15, mixed mode)

 

Reply via email to