Mark Meijer wrote:
I can't help you with your particular problem. But you may find this tool helpful if you are running on Windows. It has a snapshot function so that you can compare two snapshots of your application's memory, allowing you to easily detect which objects you forgot to remove references for.I've kept my real test app running during the night. It's a memory hog (that's part of the stress test) but the amount of memory it uses should be fairly stable. The following morning I noticed it had stopped, because it ran out of memory, and I think the code above demonstrates why.
http://www.softwareverify.com/lua/memory/index.html Its in beta if you wish to join (click the purple Beta button). Stephen