Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Java (http://www.velocityreviews.com/forums/f30-java.html)
-   -   Resin 3.0.28 and strange memory issues. (http://www.velocityreviews.com/forums/t946395-resin-3-0-28-and-strange-memory-issues.html)

Daniel Pitts 05-20-2012 03:47 PM

Resin 3.0.28 and strange memory issues.
 
Hello everyone,
We've recently upgraded some of our production apps to Resin 3.0.28
(from 3.0.23), and some of them (only some) have started acting very
strangely. We were getting random OutOfMemoryExceptions, on the heap.
We increased the heap, thinking Resin just needed more memory, but then
we started getting OOM "Requested array size exceeds VM limit".

Our application code hasn't changed, and when we attach an agent to try
to find the problem, it goes away :-(.

Any suggestions? Anyone with similar experience with Resin?

Thanks,
Daniel.

Kevin McMurtrie 05-24-2012 04:34 PM

Re: Resin 3.0.28 and strange memory issues.
 
In article <qm8ur.16731$x11.102@newsfe21.iad>,
Daniel Pitts <newsgroup.nospam@virtualinfinity.net> wrote:

> Hello everyone,
> We've recently upgraded some of our production apps to Resin 3.0.28
> (from 3.0.23), and some of them (only some) have started acting very
> strangely. We were getting random OutOfMemoryExceptions, on the heap.
> We increased the heap, thinking Resin just needed more memory, but then
> we started getting OOM "Requested array size exceeds VM limit".
>
> Our application code hasn't changed, and when we attach an agent to try
> to find the problem, it goes away :-(.
>
> Any suggestions? Anyone with similar experience with Resin?
>
> Thanks,
> Daniel.


First:
-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/path/to/directory

It being fixed by a debugger makes me think that you should try a
different version of the JVM or try removing old and obscure options
that may not work correctly anymore. Most people never see JVM bugs but
they're definitely there and large applications show them more.
--
I will not see posts from Google because I must filter them as spam


All times are GMT. The time now is 04:50 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.