Click here to Skip to main content
16,006,768 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralJPEG Question Pin
AJ12314-May-02 3:18
AJ12314-May-02 3:18 
GeneralRe: JPEG Question Pin
Chris Losinger14-May-02 3:33
professionalChris Losinger14-May-02 3:33 
GeneralRe: JPEG Question Pin
Jon Hulatt14-May-02 4:17
Jon Hulatt14-May-02 4:17 
GeneralRe: JPEG Question Pin
Chris Losinger14-May-02 4:31
professionalChris Losinger14-May-02 4:31 
GeneralMemory: Debug vs. real world Pin
Mike Osbahr14-May-02 3:05
Mike Osbahr14-May-02 3:05 
GeneralRe: Memory: Debug vs. real world Pin
Roger Allen14-May-02 3:57
Roger Allen14-May-02 3:57 
GeneralRe: Memory: Debug vs. real world Pin
Mike Osbahr15-May-02 2:11
Mike Osbahr15-May-02 2:11 
GeneralRe: Memory: Debug vs. real world Pin
Mike Osbahr20-May-02 3:04
Mike Osbahr20-May-02 3:04 
Recapping the situation: I have an app compiled for Debug which while running under the debugger is fine. If I execute the same app stand-alone it appears to have a memory leak. As suggested earlier, the stand-alone platform was configured for remote debugging.

Under Debug, Task Manager reports the application using around 7MB of memory. Task Manager also reports the overall memory usage of the system to be around 110MB. While the app memory usage varies more than I would have expected, it has not gone over 10MB that I have observed while running in debug mode.

Running standalone Task Manager initially reports the application using the same 7MB amount of memory. After 8 hours of operation the memory usage of the application has increased around to around 10MB, and after 48 hours it is around 14MB. The overall memory usage reported after 8 hours though has increased by 30MB! and this value continues to increase linearly with time. After 48 hours the overall memory usage has exceeded 300MB.

I have placed memory leak detection code around the entire app and inside the app around the core functions. The inside code reports an occassional change in memory, but reports a reciprocal change later on. As noted, it doesn't leak under debug, so dumping statistics to the debug output window is not helping resolve the problem.

Any further suggestions for locating the cause of this problem would be appreciated. FYI, the stand-alone platform is XP though I do not know if this is significant.

>>>-----> MikeO
QuestionHow to get MODEMDEVCAPS by calling GetCommProperties ? Pin
koteswara14-May-02 3:09
koteswara14-May-02 3:09 
GeneralCTreeCtrl Pin
Karavaev Denis14-May-02 2:50
Karavaev Denis14-May-02 2:50 
GeneralRe: CTreeCtrl Pin
14-May-02 3:12
suss14-May-02 3:12 
GeneralRe: CTreeCtrl Pin
Prem Kumar14-May-02 3:14
Prem Kumar14-May-02 3:14 
GeneralRe: CTreeCtrl Pin
Karavaev Denis14-May-02 3:47
Karavaev Denis14-May-02 3:47 
GeneralOpen Souce code !! Pin
Leesen14-May-02 2:44
Leesen14-May-02 2:44 
GeneralRe: Open Souce code !! Pin
Mike Osbahr14-May-02 3:12
Mike Osbahr14-May-02 3:12 
GeneralRe: Open Souce code !! Pin
Leesen14-May-02 4:05
Leesen14-May-02 4:05 
GeneralClassView lost. Pin
Hans Ruck14-May-02 2:29
Hans Ruck14-May-02 2:29 
GeneralRe: ClassView lost. Pin
Oleksandr Kucherenko14-May-02 2:37
Oleksandr Kucherenko14-May-02 2:37 
GeneralRe: ClassView lost. Pin
lucy14-May-02 3:04
lucy14-May-02 3:04 
GeneralRe: ClassView lost. Pin
Le centriste14-May-02 6:47
Le centriste14-May-02 6:47 
Generalclass in console and in MFC Pin
tongc14-May-02 2:07
tongc14-May-02 2:07 
GeneralRe: class in console and in MFC Pin
Oleksandr Kucherenko14-May-02 2:50
Oleksandr Kucherenko14-May-02 2:50 
GeneralRe: class in console and in MFC Pin
Maxwell Chen14-May-02 2:43
Maxwell Chen14-May-02 2:43 
GeneralRe: class in console and in MFC Pin
tongc14-May-02 3:04
tongc14-May-02 3:04 
GeneralDATE/TIMEPICKER Pin
kopfschnecke14-May-02 1:08
kopfschnecke14-May-02 1:08 

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.