Resin 3.0.28 and strange memory issues.

D

Daniel Pitts

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.
 
K

Kevin McMurtrie

Daniel Pitts said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top