"Memory leak" in non-circular parameterized NTAs

Issue #173 new
Emma Söderberg created an issue

Parameterized non-circular NTAs are cached in a map and in an internal list. This list becomes the parent of the values of the NTA. If caching of the attribute cannot be performed due to use of an intermediate value, the value of the attribute will not be placed in the map, but it will be placed in the list using add. The value must be given a parent as it is returned regardless of if the value was cached or not, and it may need a parent to evaluate inherited equations. However, if this non-circular cache check kicks in several times the internal list grows and takes up unnecessary memory.

Comments (0)

  1. Log in to comment