I've experienced slowdowns due to reaching heap space limits. Check on the 
process memory use. Sometimes jvisualvm from the JDK1.6 is real good help to 
check memory use and for thread dumps.

When an OutOfMemory exception happens in Java, it may kill important threads in 
an application and things start to hog. Even locks may not be released forever.

My 2c, hope it might help.
Christoph

On 2010-09-13 18:11, Nathan Bubna wrote:
> On Mon, Sep 13, 2010 at 8:47 AM, Jason Tesser <jasontes...@gmail.com> wrote:
>> Question for you
>>
>> My velocityengine is a singletons right now.
>>
>> Could having multiple VelocityEngines help? Could I be up against some
>> limit here under load?
> 
> Without knowing more about what is going on, it's really hard to say.
> It would help to know more.  I still struggle to imagine what is
> causing things to hang at that line.  You say you were using 1.6.3?
> Because line 3391 in Parser.java doesn't look like that in 1.6.3,
> 1.6.4 or the trunk.  I'd like to see the surrounding code, to see if i
> can understand better what is happening.  Does your debugger tell you
> anything else?  Like how many Parser objects exist at the time?  Are
> there any other choke points?  Are you seeing "Created <X> parsers."
> debug output in your logs?
> 
> And you could always just try using multiple engines and see if it
> helps.  Depending on how difficult that refactor is, sometimes guess
> and check really is the fastest way to a solution. :)
> 
>> Thanks,
>> Jason Tesser
>> dotCMS Lead Development Manager
>> 1-305-858-1422
>>
>>
>>
>> On Mon, Sep 13, 2010 at 11:40 AM, Nathan Bubna <nbu...@gmail.com> wrote:
>>> it kinda sounds like the stuck threads are waiting for a lock to be 
>>> released.
>>
>> ---------------------------------------------------------------------
>> 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
> 

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

Reply via email to