On Mon, Sep 13, 2010 at 6:56 AM, Jason Tesser <jasontes...@gmail.com> wrote:
> I have a bunch of parses happening from 90 or so threads.  Actually it
> starts at 15 then grows.
>
> The issue is everytime I pause a java thread or do a threaddump I
> notice that they are all stuck in the Parser line 3391
>
> if (jj_la == 0 && jj_scanpos == jj_lastpos) throw jj_ls;

that seems like a random line to be so consistently stuck at.

> Is this normal?  Any config or anything I could change here to help.
> My files are taking so long to parse pretty much the whole system
> hangs.

You could try boosting the parser.pool.size property.   But mostly
this is JavaCC produced code, so we don't really have any config hooks
down into it.  If you're feeling up to a little hacking, you could try
rebuilding Velocity with a JavaCC 5.0 generated parser.  The current
release (1.6.4) was built with JavaCC 4.1.  They may have improved
something that can help...

> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@velocity.apache.org
> For additional commands, e-mail: user-h...@velocity.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@velocity.apache.org
For additional commands, e-mail: user-h...@velocity.apache.org

Reply via email to