Hello Kirupians,
I’m still struggling with memory-leak problems in the mega-project I talked about earlier (a children’s fashion ‘virtual showroom’, where up to 600 videos and 3600 hires images can be viewed in one session).
I’m monitoring memory use like this:
[AS]memory = Math.floor(System.totalMemory/(1024*1024)*100)/100;[/AS]
I cleaned up a lot of code, reusing objects whenever I can, and removing references (nulling) whenever I can, and I’m now at a point where memory usage is ‘under control’ on Windows machines, but not so on OSX machines!
Results only vary slightly between various browsers on the Mac, and Firefox seems to perform the ‘best’.
The fact that there’s such an obvious difference in memory leaking on Windows and on OSX, leads me to believe that my code is now okay, and that I’m hitting on differences in Garbage Collection-behaviour between the Windows Flash Player and the OSX Flash Player.
Do any of you recognize this?
Should I advice my client against the use of Macs (eventhough they just bought 60 MacBooks just to run this application on) because of this?