This content has been marked as final. Show 3 replies
I have exact same problem as you do. I am currently evaluating this flex chart and this seriously discourage me to purchase the product.
I thought the memory leak problem was coming from httpService for my case.
I would love to know if you find the fix for this
I have a similar problem.
I am embedding flex charts that I generate by passing xml to AS3 in my html application. I noticed that the memory usage jumps by about 10meg everytime I switch to a new chart. Eventually IE run out of memory and crashes.
Is the memory allocated by the browser for the plugin ever reclaimed?
Any clues would be appreciated.
I am pretty confident I know what is causing the leak for us.
If I comment these lines in our GeneratorComponent.as class
// ExternalInterface.addCallback("generateFromXml", generateFromXml);
// ExternalInterface.addCallback("isInitialized", isInitialized);
Then the leak does not occur.
If I leave them uncommented, then it does occur.
Is there a way to remove a callback when after it has been added? I do not see a removeCallback method on ExternalInterface.
Would addCallback("name", null) work? (actually, I tried it, and it did not appear to)
If that (or some other trick) does work, then I need to remove the callback when the object goes out of scope and gets deleted.
Is there a way to detect that?