Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>There will probably be a <em>slight</em> difference in memory utilisation, but only in as much as the footprint differs between servlet containers. There is also a <em>slight</em> chance that you've encountered a memory leak with the container - but this is doubtful.</p> <p>The most likely issue is that your application has a memory leak - in any case, the cause is more important than a quick fix - what would you do if the 'new' container just happens to last an extra week etc? Moving the problem rarely solves it...</p> <p>You need to start analysing the applications heap memory, to locate the source of the problem. If your application is crashing with an OOME, you can add this to the JVM arguments.</p> <pre><code>-XX:-HeapDumpOnOutOfMemoryError </code></pre> <p>If the performance is just degrading until you restart the container manually, you should get into the routine of triggering periodic heap dumps. A timeline of dumps is often the most help, as you can see which object stores just grow over time.</p> <p>To do this, you'll need a heap analysis tool:</p> <p><a href="http://docs.oracle.com/javase/6/docs/technotes/tools/share/jhat.html" rel="nofollow noreferrer">JHat</a> or <a href="https://www.ibm.com/developerworks/community/groups/service/html/communityview?communityUuid=4544bafe-c7a2-455f-9d43-eb866ea60091" rel="nofollow noreferrer">IBM Heap Analyser</a> or whatever your preference :)</p> <p>Also see this question:</p> <p><a href="https://stackoverflow.com/questions/2064427/recommendations-for-a-heap-analysis-tool-for-java">Recommendations for a heap analysis tool for Java?</a></p> <p><strong>Update:</strong></p> <p>And this may help (for obvious reasons):</p> <p><a href="https://stackoverflow.com/questions/185893/how-do-i-analyze-a-hprof-file">How do I analyze a .hprof file?</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload