0 Replies Latest reply on May 11, 2010 3:28 PM by damonfarr

    LineSeriesRenderData cache

    damonfarr Level 1

      I have been profiling a FLEX app that is using a custom item renderer for a LineSeries. It seems that an instance of the LineSeriesRenderData class is being created as part of my LineSeries. The cache contains a reference to to a previous instance of the LineSeries and all of it's renders and data objects. While this cache seems to be cleared eventually, it does grow rather large as we have multiple series (up to 10) in one chart. Is there any way to clear the cache manually, or configure the series not to use it?

       

      Attached are two screen shots from the profiler. The first shows the memory snapshot, the second shows the object allocation for the ColorBlindRenderer class, which is my itemRenderer class.The second is the object allocation trace.

      MemorySnapshot.png

      ObjectAllocation.png