Reputation: 21
If there is a tool for analyzing memory leaks in a c++ COM Object, please provide a link here
If no such tool exist, what would be the best way to handle memory leaks ?
Thank You
Upvotes: 2
Views: 528
Reputation: 4251
If you have Deleaker, it tracks resource leaks in addition to memory leaks.
Upvotes: 2
Reputation: 21616
Are you developing the COM object or simply using it? Do you have the source?
If you don't have the source then you're pretty much on your own.
If you do then any 'normal' memory leak checker will work. I use Bounds Checker which is part of the MicroFocus DevPartner Studio product (see here http://www.microfocus.com/products/micro-focus-developer/devpartner/visual-c.aspx). It's commercial but there's a trial available that might help you...
Upvotes: 0
Reputation: 5037
You can use LeakDiag (and LDParser, LDGrapher), good for unmanaged code, including COM.
Upvotes: 1
Reputation: 3747
AQtime can help to catch memory leaks. But it's a commercial product.
Upvotes: 0
Reputation: 337
There's a tool 'valgrind'. It's one of the best memory leak checkers, but I'm not sure if it exists for windows... Give it a try
Upvotes: 3