aspose file tools*
The moose likes Spring and the fly likes WebApplicationContext and OutOfMemory?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "WebApplicationContext and OutOfMemory??" Watch "WebApplicationContext and OutOfMemory??" New topic
Author

WebApplicationContext and OutOfMemory??

david tanu
Greenhorn

Joined: Jul 25, 2009
Posts: 8

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
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

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.


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: WebApplicationContext and OutOfMemory??
 
Similar Threads
Websphere - OutOfMemory
puzzle of OutofMemory.
OutOfMemory error is not being sent to stderr
OutOfMemory
OutOfMemory