AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
Expand all | Collapse all

JVMST109: Insufficient space in Javaheap to satisfy allocation request

  • 1.  JVMST109: Insufficient space in Javaheap to satisfy allocation request

    Posted Mon May 02, 2011 02:59 PM

    Originally posted by: FGreg


    Hello,

    I posted this question in an Oracle JVM thread and it was suggested this was specific to an AIX setup so I thought I would pose it here as well. The environment is Java 1.4.2 running on AIX version 5.2.

    I am wondering if this message is fatal or just a warning? I understand that it means the JVM is running out of memory but I am curious if it signifies an actual failure or just serves as a warning.

    I have a Java process that shows this message in the logs occasionally but the process does not actually fail and it will complete successfully. I'm wondering if I should be treating this as a failure or just as a sign that the machine the process is running on needs more resources.

    Thank you.
    #AIX-Forum


  • 2.  Re: JVMST109: Insufficient space in Javaheap to satisfy allocation request

    Posted Tue May 03, 2011 06:13 AM

    Originally posted by: SystemAdmin


    Hi, FGreg,

    don't think it's AIX-related question.

    Briefly you need to increase the amount of memory java process may be able to consume (refer to Xms\Xmx parameters). Please also mind the hard limit for 32-bit java process heap (4G in theory and 1.4-2G in real life).

    Regards,
    AM
    #AIX-Forum


  • 3.  Re: JVMST109: Insufficient space in Javaheap to satisfy allocation request

    Posted Tue May 03, 2011 11:14 AM

    Originally posted by: FGreg


    Thanks for the reply proforg.

    My initial assumptions on this error seem to be correct based on the reply I received in the Oracle support forums. This message seems to act as a warning that you are about to blow out the stack and get an OutOfMemoryException. However, it is possible to get this message without the JVM being terminated (as this is what has been happening in my case).

    Basically, this is Java saying "I can't allocate the requested memory at this time but I will try again".

    The thread in the Oracle support forum I am referring to is:
    JVMST109: Insufficient space in Javaheap to satisfy allocation request
    in case anyone else is interested.

    I am marking this question as answered but if anyone does have more specific information on this message (or can further validate my assumptions stated above) please post it here.
    #AIX-Forum