Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #14672 > unrolled thread

Resin 3.0.28 and strange memory issues.

Started byDaniel Pitts <newsgroup.nospam@virtualinfinity.net>
First post2012-05-20 08:47 -0700
Last post2012-05-24 09:34 -0700
Articles 2 — 2 participants

Back to article view | Back to comp.lang.java.programmer


Contents

  Resin 3.0.28 and strange memory issues. Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-05-20 08:47 -0700
    Re: Resin 3.0.28 and strange memory issues. Kevin McMurtrie <mcmurtrie@pixelmemory.us> - 2012-05-24 09:34 -0700

#14672 — Resin 3.0.28 and strange memory issues.

FromDaniel Pitts <newsgroup.nospam@virtualinfinity.net>
Date2012-05-20 08:47 -0700
SubjectResin 3.0.28 and strange memory issues.
Message-ID<qm8ur.16731$x11.102@newsfe21.iad>
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.

[toc] | [next] | [standalone]


#14777

FromKevin McMurtrie <mcmurtrie@pixelmemory.us>
Date2012-05-24 09:34 -0700
Message-ID<4fbe632e$0$87598$742ec2ed@news.sonic.net>
In reply to#14672
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

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.programmer


csiph-web