WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  What is the reason for out of memory exception ?

    Posted Wed March 20, 2013 08:06 AM
    Hai

    What is the reason for out of memory exception ? how to set the custom properties?








    Thanks & Regards

    vinay          
      


  • 2.  What is the reason for out of memory exception ?

    Posted Sun April 07, 2013 06:11 AM

    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