Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 275
  • Last Modified:

How to check for memory leaks.

I have a VB application that makes repeated passes of  large amounts of data to my C++ dll (Safearrays) for encryption\decryption. I would like to test my C++ dll for memory leaks. Please inform me of the steps I should take.
0
jgc23
Asked:
jgc23
  • 2
1 Solution
 
pzpnCommented:
I think it should be possible to run it through the Visual studio debugger and when it exits check the output. If you have memory leaks it will inform you of the fact and point you to the line in the source where the leak is occurring.

Otherwise there is also the option of investing in Nu-Mega Bounds Checker or there is a product from Rational but the name escapes me.
0
 
jgc23Author Commented:
pzpn
Please expand on what you mean by "when it exits check the
output. If you have memory leaks it will inform you.."
jgc23
0
 
nebekerCommented:
Get a copy of Rational's VisualPurify.  Write a test driver to simulate the useage of your DLL.  Run it for a while, and then let Purify give you a complete list of all memory leaks it found.  It is a very good product...
0
 
jgc23Author Commented:
thank you
Tried it, liked it, think I understand it!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now