To test the device, simply add code that periodically allocates large chunks of memory without freeing it up (i.e. leaks for the intended purpose). You can do this in a separate thread or in response to a timer or using any mechanism that best allows you to test and monitor the behavior of your application.
You can also create a standalone application that does something similar, and is designed to run in the background if you want to easily reuse this and / or test multiple applications.
BinaryStar Jan 17 '11 at 20:08 2011-01-17 20:08
source share