Showing posts with label memory. Show all posts
Showing posts with label memory. Show all posts

Wednesday, June 27, 2007

Best Practices for Performance and Memory for Flash Lite

Adobe Flash Lite online live seminar: Best Practices for Performance and Memory for Flash Lite and Developer Center article.

Some takeaways:
  1. Help the garbage collector by explicitly deleting objects (e.g. XML) and setting local objects to null. It's unclear how setting local objects helps because the reference count should go to zero once it's out of scope.
  2. fscommand2("GetFreePlayerMemory") returns the size of the largest contiguous block of memory that can be allocated by the player, not total free memory.

Tuesday, June 5, 2007

Flash Lite Memory Size

Total available memory allocated by Flash Lite player, using
fscommand2("GetTotalPlayerMemory");
  1. FL 2.1 (standalone), Windows Mobile 5: 4096KB
  2. FL 2.0 (built-in), Nokia S60 FP3: 2297KB
  3. FL 2.1 (standalone), Nokia S60 FP2: 2296K