JADE Environment Development Ideas

What's new in the upcoming JADE release?

IMPROVED DEVELOPER EFFICIENCY. ENHANCED SECURITY. SMOOTHER INTEGRATION

The JADE 2022 release meets tomorrow’s business demands.


Start your update to JADE's latest release

JadeDynamicObject.getPropertyValues() memory leak

The transient object 'JdoIterableValue' remains in memory after accessing JadeDynamicObject.getPropertyValues().


Example:

foreach dynaPropValue in dynaObject.JadeDynamicObject.getPropertyValues() do

break;

endforeach;


There doesn't appear to be a way to remove it from memory. My workaround is to use the propertyCount and loop that with getPropertyValueByIndex.

  • Guest
  • Apr 24 2024
  • Needs review
  • Attach files
  • BeeJay commented
    29 Apr 08:41

    Can you not save the transient object returned by dynaObject.JadeDynamicObject.getPropertyValues() into a suitable local variable, and then in your epilog delete the transient object?