I met a very strange GC problem, and it’s been troubled me for days:
In short words, I’m showing some data visually to my user page by page. When a user hits a “next” or “previous” button, the data (a bunch of instances) refreshes - Purge the old ones and create the new ones.
In FlashPlayer 10, everything is working fine. The memory released nicely in every turn. But with FlashPlayer9, the memory is never released after each turn.
Of course, I did carefully removed the listeners and references, but there’s even not a tiny drop-down of my memory load (I’m watch the system.totalMemory)
And I am also using the “localConnection-hack” to force the GC to run but it seems nothing happens in FlashPlayer9.
I searched for a long time and there’s only few reports indicating that loading external assets at runtime would cause such issues with FlashPlayer9, but unfortunately, I did never load any external resource at runtime.
So, anyone met the similar problem in FlashPlayer9? Any tips or suggestions?
Thanks in advance