Announcement Announcement Module
Collapse
No announcement yet.
OutOfMemoryError with multiple deploys of Spring based application Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • OutOfMemoryError with multiple deploys of Spring based application

    This seems to be common error:

    I see OutOfMemoryError when I deploy a spring based application in an app server. AspectJ type classes are not getting garbage collected. By looking at other postings, it seems ore like the way application is coded/configured. Some of the postings talk about the problem with having static member variables. Shutdownhook is registered in the code.

    Following seems like an interesting article:
    http://blogs.sun.com/fkieviet/entry/...e_dreaded_java

    That being said, did not notice similar problem with non spring app in the same app server with multiple deploys.

    Any suggestion, or advice will be appreciated.

  • #2
    Hello

    Get the wonderful OutOfMemoryError could be arised by many reasons, bad configuration in your container, bad configuration in your beans etc

    Post the complete error stack trace (use code tags)

    I see OutOfMemoryError when I deploy a spring based application in an app server. AspectJ type classes are not getting garbage collected.
    Is when you start your server? which server is? and what are you doing with ApsectJ for the garbage collection?

    Expand your ideas

    Comment

    Working...
    X