ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "glenn opdycke-hansen" <glenn...@gmail.com>
Subject Re: How to increase memory used by JVM in Ant
Date Sat, 16 Feb 2008 14:21:05 GMT
Just a guess, but perhaps you need to log or record the depth of the calls.
There may be a logic situation and not a heap size issue.
--glenn

On Feb 16, 2008 12:18 AM, Z W <mpc8250@gmail.com> wrote:

> Hi Glenn
>
> In one of my previous post, I got jstack error when 2 targets are calling
> each other.
> I have 2 targets namely A, B.
> Target A calls target B. Inside target A has an if-then-else condition
> that
> would stop calling target B if condition is met.
> Target B calls target A every 2 seconds after performing a check.
>
> When running this, after less than a few mins, I got jstack overflow
> error.
> I'm not sure what causes the error and I thought it might be memory.
> Is there a max of "stack frames" allowed in Ant.
>
> Thanks
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message