Testing plugin for memory leak

I couldn’t find any document regarding this subject so I just created a bunch of test pages with the plugin and a script to fetch a few thousand random pages and then look over the server statistics.
Are there better ways to go about it?