Click here to Skip to main content
15,915,319 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionThere's no memory leak in my code(rather sure), then how to find out those codes who eat up my memory? Pin
Falconapollo16-Jun-13 23:35
Falconapollo16-Jun-13 23:35 
AnswerRe: There's no memory leak in my code(rather sure), then how to find out those codes who eat up my memory? Pin
Richard MacCutchan17-Jun-13 0:21
mveRichard MacCutchan17-Jun-13 0:21 
GeneralRe: There's no memory leak in my code(rather sure), then how to find out those codes who eat up my memory? Pin
Falconapollo17-Jun-13 0:25
Falconapollo17-Jun-13 0:25 
GeneralRe: There's no memory leak in my code(rather sure), then how to find out those codes who eat up my memory? Pin
Richard MacCutchan17-Jun-13 0:30
mveRichard MacCutchan17-Jun-13 0:30 
QuestionRe: There's no memory leak in my code(rather sure), then how to find out those codes who eat up my memory? Pin
CPallini17-Jun-13 0:58
mveCPallini17-Jun-13 0:58 
AnswerRe: There's no memory leak in my code(rather sure), then how to find out those codes who eat up my memory? Pin
jeron117-Jun-13 4:16
jeron117-Jun-13 4:16 
AnswerRe: There's no memory leak in my code(rather sure), then how to find out those codes who eat up my memory? Pin
jschell17-Jun-13 8:02
jschell17-Jun-13 8:02 
AnswerRe: There's no memory leak in my code(rather sure), then how to find out those codes who eat up my memory? Pin
Stefan_Lang19-Jun-13 1:42
Stefan_Lang19-Jun-13 1:42 
As Richard said it's impossible to give accurate advice without seeing your code and the functions you call from third party libs (and of course posting 1400k lines of code is not an option).

The questions you should try to answer for yourself are:
1. Can you pinpoint certain operations (at user interface level) of your applications that result in high memory use?
2. Which internal parts (functions) of your application do require large amounts of memory, even if only temporary?
3. Which calls to third party libraries result in allocation of memory that is not automatically released (e. g. functions that create large objects or data sets to hold results)?
4. What third party libraries do you use, and what do you know about their memory allocation scheme?

The last question is targeted at libraries that use their own memory managers, which may or may not release unused memory blocks in a timely manner.

Find the answers to these questions to better locate possible causes for your problem. Without that info, nobody can really help.
AnswerRe: There's no memory leak in my code(rather sure), then how to find out those codes who eat up my memory? Pin
JackDingler26-Jun-13 11:56
JackDingler26-Jun-13 11:56 
QuestionBuild Error in Process Enum pgm Pin
ajaytvish14-Jun-13 22:01
ajaytvish14-Jun-13 22:01 
AnswerRe: Build Error in Process Enum pgm Pin
Matthew Faithfull14-Jun-13 22:40
Matthew Faithfull14-Jun-13 22:40 
AnswerRe: Build Error in Process Enum pgm Pin
ajaytvish15-Jun-13 4:21
ajaytvish15-Jun-13 4:21 
QuestionFolder Monitor by Hooking API's for Notification of files added in a directory Pin
ajaytvish14-Jun-13 21:50
ajaytvish14-Jun-13 21:50 
AnswerRe: Folder Monitor by Hooking API's for Notification of files added in a directory Pin
Klaus-Werner Konrad15-Jun-13 12:48
Klaus-Werner Konrad15-Jun-13 12:48 
QuestionResource compiler build error Pin
ForNow14-Jun-13 12:36
ForNow14-Jun-13 12:36 
AnswerRe: Resource compiler build error Pin
Richard MacCutchan14-Jun-13 22:23
mveRichard MacCutchan14-Jun-13 22:23 
QuestionHow do I use the scrollbars of an atl::CAxWindow in mfc. Pin
Crazy for C13-Jun-13 20:09
Crazy for C13-Jun-13 20:09 
AnswerRe: How do I use the scrollbars of an atl::CAxWindow in mfc. Pin
Jonathan Davies14-Jun-13 2:19
Jonathan Davies14-Jun-13 2:19 
QuestionCan someone (briefly) explain ON_UPDATE_COMMAND_UI? Pin
Simon Langdon13-Jun-13 4:09
Simon Langdon13-Jun-13 4:09 
AnswerRe: Can someone (briefly) explain ON_UPDATE_COMMAND_UI? Pin
David Crow13-Jun-13 4:17
David Crow13-Jun-13 4:17 
GeneralRe: Can someone (briefly) explain ON_UPDATE_COMMAND_UI? Pin
Simon Langdon13-Jun-13 4:46
Simon Langdon13-Jun-13 4:46 
GeneralRe: Can someone (briefly) explain ON_UPDATE_COMMAND_UI? Pin
CPallini13-Jun-13 6:53
mveCPallini13-Jun-13 6:53 
AnswerRe: Can someone (briefly) explain ON_UPDATE_COMMAND_UI? Pin
chaau13-Jun-13 18:38
chaau13-Jun-13 18:38 
AnswerRe: Can someone (briefly) explain ON_UPDATE_COMMAND_UI? Pin
Iain Clarke, Warrior Programmer17-Jun-13 0:09
Iain Clarke, Warrior Programmer17-Jun-13 0:09 
QuestionUsing array of string values Pin
Donguy197613-Jun-13 3:40
Donguy197613-Jun-13 3:40 

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.