Memory Leak when AFAttribute.GetValue.Value used on Formula

Discussion created by kpotter on Jul 27, 2010
Latest reply on Aug 2, 2010 by cmanhard

The following line of code (repeating by timer) causes a memory leak ( 3.5, VS 2008, windows service):


LocalSingle1 = LocalAFAttribute.GetValue.Value


I tried changing the Attribute Data Reference to <None>, and entered a constant, and that stopped the leak.  The leak occurs when the Data Reference is a formula.  In my case, the formula is bringing in Parameters from other elements; some go another layer or 2 back.


Any insight is appreciated.... Thank you.