Garbage Collection and Memory Leaks - simple example

 

Alex Harui wrote a great post regarding the techniques of detecting memory leaks using the Flex Builder memory profiler.
I found the demo he used a bit too complicated (too many objects, too many memory leaks), so I created a simpler version for demonstrating the techniques.
The idea – using the same code, once on a Person class, and once on a LeakyPerson class (which causes a memory leak).
CreateDestry/CreateDestroyLeaky – demonstrates the create/destroy scenario
Replace/ReplaceLeaky – demonstrates the replace current scenario.
Attached is a screenshot of the various outputs of the projects, and the source files as well.
 I hope you'll find it useful,
-Ilan

Thank you for your interest!

We will contact you as soon as possible.

Want to Know More?

Oops, something went wrong
Please try again or contact us by email at info@tikalk.com
Thank you for your interest!

We will contact you as soon as possible.

Let's talk

Oops, something went wrong
Please try again or contact us by email at info@tikalk.com