System.gc() does not work in production. Use the localConnection hack to
Thanks buddy. I'll try this immediately. But are we sure that this hack works in both Mac and Windows for desktop aplication in Flex? Our AIR verson is 2.0
LocalConnection hack does not work. I have checked it. Its not forcing gc. Can you suggest something else Alex?
Are you sure it doesn't ? Maybe flash does release memory but the OS leaves it assigned as described in the below comment from http://www.mikechambers.com/blog/2008/08/06/what-are-your-biggest-issues-with-adobe-air/co mment-page-3/#comment-26330
"I just finished doing more experiments, I looks like the AIR app does free the memory, but the OS leaves it assignned to the app process, until other apps requiere that memory. So, looks like it is a natural behaviour and the memory leak is not as terrible as I thougth."