IBM Support

IJ40461: MAXIMO FOR OIL AND GAS MEMORY LEAK IN PSDI.PLUSC.APP.PLUSCTMPLT.VIRTUAL.PLUSCFLDMETERSTARTDATE.INITVALUE()

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • PROBLEM DESCRIPTION
    Maximo for Oil and Gas memory leak in psdi.plusc.app.plusctmplt
    .virtual.PlusCFldMeterStartDate.initValue()
    
    REPRODUCTION STEPS
    Customer unable to identify the steps that triggers this code.
    However studying the code shows that mbosets are being opened
    but are not then being closed.
    Failing to close the mboset means that the mboset will be open
    until the JVM is restarted
    
    The customer's DBA has repeatedly highlighted DB connections
    that have been left open for hours at a time.
    Those concerns led to a full check of Industry solution code
    that referenced MXServer/mboset leaks - that identified this
    class as a suspect.
    
    RESULTS
    The mboset should be given closed after it has been used.
    
    UNEXPECTED BEHAVIOUR
    Database connection remains open causing the memory leak.
    
    
    Code sample
    psdi.plusc.app.plusctmplt.virtual.PlusCFldMeterStartDate.initVa
    lue()
    
    /* 68 */     } else if (mbo.isBasedOn("PLUSCPREGENASSET")) {
    /* 69 */       MboRemote defaultAssetData = mbo.getOwner();
    /* 70 */       MboRemote template = defaultAssetData.getOwner();
    
    /* 71 */       MboSetRemote mboSet =
    template.getMboSet("meterrecords", "PLUSCTPMETER", "templateid =
    :templateid");
    /* 72 */       if (mboSet == null || mboSet.count() == 0) {
    /* 73 */         mboValue.setFlag(7L, true);
    /*    */       } else {
    /* 75 */         mboValue.setFlag(128L, true);
    /*    */       }
    
    /*    */     }
    
    /*    */   }
    
    REPORTED VERSION
    IBM Maximo for Oil and Gas 7.6.1.0
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Maximo for Oil & Gas                                         *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * OIL AND GAS MEMORY LEAK DURING THE INITIALIZATION OF         *
    * PLUSCFLDMETERSTARTDATE                                       *
    ****************************************************************
    

Problem conclusion

  • The fix for this APAR is contained in the following maintenance
    package: release\fix pack for Release 8.5 Product
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ40461

  • Reported component name

    MAXIMO OIL & GA

  • Reported component ID

    5724R5400

  • Reported release

    761

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-06-06

  • Closed date

    2022-09-29

  • Last modified date

    2022-09-29

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    MAXIMO OIL & GA

  • Fixed component ID

    5724R5400

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSLL9G","label":"Maximo for Oil and Gas"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"761","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
29 September 2022