Our WebLogic server crashed. I see the following message in the WebLogic log:
[12/28/11 21:02:58:586 GMT+08:00] 00000619 PerformaSureA E PerformaSure Agent An unexpected exception occurred, shutting down application. You may want to contact Quest Software customer support if you see this error again: java.lang.OutOfMemoryError
I have the following questions:
Question 1). What does "shutting down application" refer to in the error message? Is it just referring to the Foglight JavaEE agent?
Question 2). What are the circumstances when java.lang.OutOfMemoryError errors can be reported?
Answer 1). "shutting down application" refers to the Foglight JavaEE agent shutting down. The JavaEE agent cannot shutdown your application server.
The "out of memory" error is a generic JVM error that can cause weird things to happen. Application servers might even crash when the JVM is out of memory.
Answer 2). Generally, OutOfMemory errors are seen when heap memory is full.
OutOfMemory errors are also reported when the permanent generation fills up, but the error would specifically say it is running out of permanent generation space. If not, it is the heap that is getting filled up.