August 21st, 2007
360|Flex Seattle – Memory Management for Flex and AIR Developers
In honor of the release of Bioshock today for the 360, I figured I would stop slacking and post the slides and sample code from my 360|Flex presentation. Also, I wanted to give big thanks to all the people that attended my presentation and didn’t fall asleep.
Those of you that did…well, it was 8:30am and I wish I had been sleeping too!
Now, regarding the sample code and slides, a couple notes:
1. I am running Flex Builder 3 Beta 1. The zipfiles containing the code are exported FB3B1 Flex and AIR projects.
2. Although the client-side libraries are included in the project lib directories, for these samples to be halfway worthwhile and actually show memory statistics, you should download REDbug Beta.
3. If you want to do the things I did during my presentation to compare and contrast memory utilization within the samples, look at the TODO comments within the code. An easy way to do that is to use the awesome TODO/FIXME plugin tool many props to Dirk!
4. Although these samples are cool examples on how to compare and contrast deferred instantiation techniques, using the right components for the job, and finally to illustrate event listener memory leaks, they should in no way be construed in whole as best practices in building an app. Remember, examples only…to illustrate the key points regarding memory consumption as described in the TODO comments.
5. The module example is configured to work when you run the application, not debug the application. If you want to change that, you’ll need to either set the debug compiler option to true, or create an ant script to compile the module that’s in the project.
6. The link to the slides is actually a link to an Adobe presentation. I figured I’d give that format a try.
So…without further ado, some links:
- 360_DEFERRED_INSTATIATION_MyBigForm.zip
- 360_MyPicturesBrowser.zip
- 360_GC_MODULES.zip
- My presentation
Hope you find something useful…and if anything, rush over to your nearest game distributor and pick up a copy of Bioshock…I know I will be!















September 8th, 2007 at 11:32 pm
[...] Memory Management for Flex/Apollo Developers (by Jun Helder) It was the great session and Jun presented with much enthusiasm. Again David Colettas was in the session and he covered well. This is that kind of session that powerpoint make sense and Jun will be posting his slide on his website soon Jun posted here. [...]
September 18th, 2007 at 7:26 am
Hi Jun,
Is there any chance you send me ( or post the link of ) the PPT presentation? There are some animations that are not displayed correctly right now.
Thanks.
Alberto
=================================================================
Hi Alberto,
I just verified the “My Presentation” link above: http://office.realeyesmedia.com/blogs/jun/samples/360Flex/360_Slides/index.htm
It’s an Adobe Presentation that’s based on my ppt slides. The animations are working for me…what issues are you having when you go to that link?
-Jun
January 4th, 2008 at 12:09 am
[...] 1. Memory Management for Flex/Apollo Developers (by Jun Helder) [...]