The best approach for MboSets , is to make the MboSet "Discardable". This tells Maximo to not place data in the Cache, freeing up memory.
You can see above it only take one line of code but can have a big impact on memory usage.
Note: "Discardable" MboSet is always read-only.
If you are struggling with JVM memory availability in your Maximo environment, this is an easy way to help free up some JVM memory.
assetMboSet = mbo.getMboSet("ASSET")
assetMboSet.setFlag(MboConstants.DISCARDABLE, true)
curMbo = mbo.moveFirst()
while
curMbo != None:
curMbo = mbo.moveNext().
You can see above it only take one line of code but can have a big impact on memory usage.
Note: "Discardable" MboSet is always read-only.
If you are struggling with JVM memory availability in your Maximo environment, this is an easy way to help free up some JVM memory.
No comments:
Post a Comment