(Egy ok, hogy) miért eszi a Flash a memóriát és a CPU-t

Mert sokan nem olvasták:
http://blogagic.com/163/flex-memory-management-and-memory-leaks

"Event listeners are probably the most common cause of memory leaks in Flex applications. Adding an event listener creates a reference to the object holding the handler that may prevent the garbage collection until it is removed (i.e. the dispatcher references the listener)."

Hozzászólások

Mondjuk, hogy ez okozhatja-e a processzor terhelést is, az jó kérdés.

Szerk:

http://help.adobe.com/en_US/as3/mobile/WS4bebcd66a74275c36cfb8137124318…

"Even when removed from the display list, the movie clip still dispatches the Event.ENTER_FRAME event. The movie clip still runs, but it is not rendered. To handle this situation correctly, listen to the proper events and remove event listeners, to prevent CPU-intensive code from being executed:

Note: If a display object is removed from the display list, setting its reference to null after removing it does not ensure that the object is frozen. If the garbage collector doesn’t run, the object continues to consume memory and CPU processing, even though the object is no longer displayed. To make sure that the object consumes the least CPU processing possible, make sure that you completely freeze it when removing it from the display list."

Szóval nagyjából az, amit az előző topicban is mondtam.