Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DLL memory leak ???

Status
Not open for further replies.

vaquar

Programmer
Jun 27, 2001
12
US
I am using a MFC dll from MFC application (24 hrs X 7 days).
After 1 day I can see pvt.bytes and virtual shoots up by almost double (under performance monitor that in NT).

And I checked thoroughly there is no mem. leak in other function.

Do calling DLL leaks out memory ?
I am passing LPCTSTR to dll

Thank you
 
It deppends on how does dll release the memory. John Fill
1c.bmp


ivfmd@mail.md
 
I even changed the DLL from regular DLL to MFC extension DLL
which uses new CDynLinkLibrary to initialize.
Still my pvt.bytes going higher and higher (now slowly though)

I am using new and delete properly and not getting any memory leak detected ad the time of compiling...

Thank you
 
Try to see where the interfaces release is not being called when is required. See where is possible to put many
Release(). John Fill
1c.bmp


ivfmd@mail.md
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top