If an TObject is created, it must be destroyed on the end. In the process of developing it happened to me that the running application was reacting slowly after a short time, and I noticed in the Windows Task Manager that it consumed huge amounts of memory after it was running for a while. I have made some changes, but still I see little progressive memory consumption. The app has about 22,000 Kb in memory and after repetitive redrawing, which involves creating and destroying of objects it rises to 33,000.
Is this a clear sign that somewhere in the code I do not free objects correctly or are there other causes of the memory leak? Is there a method for debugging this problem easily?
I always pay great attention to create and destroy objects in the right way, so I do not see an obvious failure.