Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Resin 3.0.28 and strange memory issues.

Reply
Thread Tools

Resin 3.0.28 and strange memory issues.

 
 
Daniel Pitts
Guest
Posts: n/a
 
      05-20-2012
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.
 
Reply With Quote
 
 
 
 
Kevin McMurtrie
Guest
Posts: n/a
 
      05-24-2012
In article <qm8ur.16731$(E-Mail Removed)>,
Daniel Pitts <(E-Mail Removed)> 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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Resin 2.0.5 vs Resin 2.1.X XSLT diff? asaguden Java 0 01-24-2005 03:06 PM
JSP would NOT compile on Websphere5.1 but works OK on Tomcat, Resin, and JRun. Vladimir Java 2 08-10-2004 09:38 AM
[ANN] MyEclipse - New release supports Eclipse 2.1.2, M4, JRun, Jonas and Resin MyEclipse J2EE Solutions Java 0 10-27-2003 03:36 AM
detecting tomcat and resin luca passani Java 0 09-15-2003 04:38 PM
Tomcat, Resin and cookies luca passani Java 0 09-13-2003 04:23 PM



Advertisments