Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I think you may have two kinds of leaks going on at the same time. Spring is warning you about a normal "heap" memory leak. This has not caused you a problem yet, because ... your redeployment is also causing excessive PermGen usage, and this problem is hitting you first. For info on the second kind of leak see <a href="https://stackoverflow.com/questions/88235/dealing-with-java-lang-outofmemoryerror-permgen-space-error">Dealing with &quot;java.lang.OutOfMemoryError: PermGen space&quot; error</a> [Thanks duffymo]</p> <p>[update]</p> <p>Since you say the suggestions in the above link did not help, the only other suggestions I can think of are:</p> <ul> <li>make sure your spring beans are cleaning themselves up when spring shuts down</li> <li>every bean that allocates a resource (anything unlikely to be garbage collected) in the constructor or init method should have a destroy method to deallocate it</li> <li>this is especially true for any beans that reference any classes in the spring-data module, catalina is complaining about a class in this module</li> <li>increase your permgen space. Even if this suggestion did not fix the problem adding something like the following should make these failures occur less frequently.</li> </ul> <blockquote> <p>Try -XX:MaxPermSize=256m and if it persists, try -XX:MaxPermSize=512m</p> </blockquote> <p>The ultimate uber-brute-force approach is to gradually strip things out of your app until the problem goes away. That will help you narrow it down to the point where you can identify whether it is an issue with your code or a bug in Spring, Hibernate etc</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