• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

WebApplicationContext and OutOfMemory??

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

New to spring, My web app appears unstable with notorious OutOfMemory Exception

What I see in the log is like this:

INFO: Closing Spring root WebApplicationContext

INFO: Shutting down Log4J

and then OutOfMemoryException

Why did Spring Close the web app context?? is there a kind of timer or listener??

any insight really appreciated

thanks all
 
Bartender
Posts: 4121
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What are you doing when the OutOfMemoryError is thrown? Anything specific?

The log messages about shutting down Spring and Log4J may be *due* to the OutOfMemoryError being thrown and not what's *causing* it - the error may have killed the application, causing them to fire some kind of shutdown process - before bubbling up to a level which caused it to be printed out.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic