Repetitive J2EE server restarts due to Out of Memory

[] [] [] [] [] [] [] [] [] [] [] [] [] [] []

Symptom
You notice that, the J2EE Engine goes into a never ending cycle of restarts, due to OutOfMemory Error. This error is noticed in the thread dumps and default traces as follows:
“FATAL: Caught OutOfMemoryError! Node will exit with exit code 666″
=======================================================================
java.lang.OutOfMemoryError
Other terms
SAP XI AF Messaging ,SAP XI AF ,OOM ,Out Of Memory ,restart ,J2EE , [...]