Click here to Skip to main content
15,906,626 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralHelp with memory leak warning message Pin
J.B.11-Feb-04 2:15
J.B.11-Feb-04 2:15 
GeneralRe: Help with memory leak warning message Pin
Antti Keskinen11-Feb-04 2:31
Antti Keskinen11-Feb-04 2:31 
GeneralRe: Help with memory leak warning message Pin
J.B.11-Feb-04 5:21
J.B.11-Feb-04 5:21 
GeneralRe: Help with memory leak warning message Pin
Antti Keskinen11-Feb-04 6:34
Antti Keskinen11-Feb-04 6:34 
GeneralRe: Help with memory leak warning message (solved) Pin
J.B.11-Feb-04 17:11
J.B.11-Feb-04 17:11 
GeneralRe: Help with memory leak warning message (solved) Pin
Antti Keskinen11-Feb-04 18:41
Antti Keskinen11-Feb-04 18:41 
GeneralRe: Help with memory leak warning message (solved) Pin
J.B.12-Feb-04 6:04
J.B.12-Feb-04 6:04 
GeneralRe: Help with memory leak warning message Pin
Peter Weyzen11-Feb-04 7:42
Peter Weyzen11-Feb-04 7:42 
I feel like a walking advertisement, but there's some commercial product outs there that's great for this:

(1) Check out BoundsChecker, it will tell you exactly what code created the memory you wish to free. (http://www.compuware.com/products/devpartner/bounds.htm[^])

(2) SmartHeap -- an alternate memory manager. Detects all kinds of bad memory problems, and also tell you exactly who allocated the memory and it's faster than the VC++ mem manager. (microquill.com)

Neither of these are cheap. But if you figure your time spent chasing memory leaks, they pay for themselves quickly.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
Peter Weyzen<br />
Staff Engineer<br />
<A HREF="http://www.santacruznetworks.com">Santa Cruz Networks</A>

GeneralRe: Help with memory leak warning message Pin
Graham Bradshaw11-Feb-04 3:49
Graham Bradshaw11-Feb-04 3:49 
GeneralReading the USB port Pin
Demian Panello11-Feb-04 2:01
Demian Panello11-Feb-04 2:01 
GeneralRe: Reading the USB port Pin
Antti Keskinen11-Feb-04 2:35
Antti Keskinen11-Feb-04 2:35 
GeneralRe: Reading the USB port Pin
Demian Panello11-Feb-04 4:54
Demian Panello11-Feb-04 4:54 
Generaledk.h Pin
barzw11-Feb-04 1:08
barzw11-Feb-04 1:08 
GeneralRe: edk.h Pin
Michael P Butler11-Feb-04 1:18
Michael P Butler11-Feb-04 1:18 
Generalmachine code Pin
Anonymous11-Feb-04 0:53
Anonymous11-Feb-04 0:53 
GeneralRe: machine code Pin
Prakash Nadar11-Feb-04 1:04
Prakash Nadar11-Feb-04 1:04 
GeneralRe: machine code Pin
Anonymous11-Feb-04 1:13
Anonymous11-Feb-04 1:13 
GeneralRe: machine code Pin
jmkhael11-Feb-04 1:30
jmkhael11-Feb-04 1:30 
GeneralRe: machine code Pin
Anonymous11-Feb-04 1:37
Anonymous11-Feb-04 1:37 
GeneralRe: machine code Pin
jhwurmbach11-Feb-04 2:47
jhwurmbach11-Feb-04 2:47 
GeneralRe: machine code Pin
Antti Keskinen11-Feb-04 3:04
Antti Keskinen11-Feb-04 3:04 
GeneralRe: machine code Pin
Prakash Nadar11-Feb-04 1:35
Prakash Nadar11-Feb-04 1:35 
GeneralRe: machine code Pin
Alexander M.,11-Feb-04 5:10
Alexander M.,11-Feb-04 5:10 
GeneralRe: machine code Pin
jmkhael11-Feb-04 6:38
jmkhael11-Feb-04 6:38 
GeneralMulti-tray printing Pin
11-Feb-04 0:52
suss11-Feb-04 0:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.