Hello,
OutofMemory exception :
1. Not all OutofMemory errors are caused by java heap memory leaks.
2. OutofMemory error can also be occured due to no contiguous chunk of free java heap space is available from which to allocate java or objects.
3. Due to repeated allocation of large objects.
4. Memory leaks in native heap. This problem occurs with a native component like DB2 or oracle connections is leaking.
5. Poor java code application that always forget to close the connections after the objects serves the requests.
custom properties:
Application servers > server1 > Process definition > Java Virtual Machine
Need to set the Initial and Maximum heap size .
Thanks,
Anil kumar