title: What is the best way to trace down memory leaks
body: <p>In a huge <em>C++ builder 2010</em> application with several DLL's being built and linked etc. What would be the best way to trace down memory leaks that accumulate over a long period of time? Say that the application has to be running for a week or something on the target machine before it becomes an issue. Let's assume that there is no profiling application available like AQ Time or something similar. Just using the standard IDE and perhaps some code.</p>
  
  <p>My initial idea was to write a macro to use in all classes that keeps track of the number of instances and space used of each class type to start with.</p>