Db2

Db2

Where DBAs and data experts come together to stop operating and start innovating. Connect, share, and shape the AI era with us.


#Data


#Data
#Databases
#Operatingsystems
#Db2
#Databasesolutions
 View Only
Expand all | Collapse all

Get metrics data failed. java.lang.OutOfMemoryError: Java heap space

  • 1.  Get metrics data failed. java.lang.OutOfMemoryError: Java heap space

    Posted 06/24/20 11:39 AM
    Hi all
           I'm trying to enable motorization for my environment using IBM DMC and it works fine until it has this message:
                   Get metrics data failed. java.lang.OutOfMemoryError: Java heap space

           Can someone tell me where I can enlarge this value?


    ------------------------------
    Daniel Martínez Álvarez
    ------------------------------

    #Db2


  • 2.  RE: Get metrics data failed. java.lang.OutOfMemoryError: Java heap space

    Posted 06/25/20 10:56 AM
    Edited by System Admin 01/20/23 04:31 PM
    Hello Daniel,
    DMC is a little different compared to DSM.
    You will need to increase the following parameter in the jvm.options file:
    -Xmx2048m
    The default is 2 GB, but depending on how many databases you are monitoring, you will need to increase that number accordingly.
    For additional information, please refer to the following link:
    https://www.ibm.com/support/knowledgecenter/SS5Q8A_3.1.x/com.ibm.datatools.dsweb.ots.upgrade.doc/topics/postupgrade.html

    Currently we don't have a capacity planing document for DMC, my recommendation is to use the one for DSM instead for now:
    https://www.ibm.com/support/pages/node/713113
    I hope that helps!
    Please let me know.

    ------------------------------
    Cintia Ogura
    ------------------------------