I'm finding a fair amount of false positives with ANTS memory profiler - for example List<T> appears to leak an empty array
The trouble is, in six months time when I next do memory analysis at the end of a development cycle I have forgotten everything that I can safely ignore!
So, I have an idea for a new feature: An 'ignore list' that allows me to ignore specific leaks. I should be able to add a free text comment to each item in the list so I can add an explanation as to why it is ignored. A way to import/export the list as a text file would be needed so the list can be added to source control.
All leaks that match those in the list should be excluded from reports and there should be a simple way (e.g. right click on a class in the class list) to add an ignore item.
Is such a feature possible? I think it would have to match by class type (e.g. Cezanne.Framework.Application.CFWorkflowItem). Would that be sufficient, or is there a risk that real leaks would get ignored? Properly matching leaks with ignore items is probably the trickiest part of this...