Click here to Skip to main content
15,912,837 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: menu help again Pin
p_6-Jun-07 0:06
p_6-Jun-07 0:06 
GeneralRe: menu help again Pin
Anurag Gandhi6-Jun-07 1:27
professionalAnurag Gandhi6-Jun-07 1:27 
QuestionCString Limitation Pin
Anurag Gandhi5-Jun-07 22:48
professionalAnurag Gandhi5-Jun-07 22:48 
AnswerRe: CString Limitation Pin
CPallini5-Jun-07 23:07
mveCPallini5-Jun-07 23:07 
AnswerRe: CString Limitation Pin
Matthew Faithfull5-Jun-07 23:09
Matthew Faithfull5-Jun-07 23:09 
GeneralRe: CString Limitation Pin
Anurag Gandhi5-Jun-07 23:50
professionalAnurag Gandhi5-Jun-07 23:50 
AnswerRe: CString Limitation Pin
David Crow6-Jun-07 2:59
David Crow6-Jun-07 2:59 
QuestionHuge increase in memory usage with Debug binary [modified] Pin
mandanani5-Jun-07 22:34
mandanani5-Jun-07 22:34 
Hi All,

I added virtual copy constructor for quite a few classes. I see a drastic difference in memory usage before and after the change, that too only with debug binary. When I ran release binary the memory usage is almost the same.

Here below are the memory statistics

Before Change
-------------
Peak Mem Usage & VM Size for Debug binary is: 15 MB & 10.5 MB
Peak Mem Usage & VM Size for Release binary is: 11.5 MB & 8 MB

After Change
-------------
Peak Mem Usage & VM Size for Debug binary is: 29 MB & 26 MB
Peak Mem Usage & VM Size for Release binary is: 12 MB & 8.5 MB

Is it the case virtual copy constructor makes debug binary use more space?

Thanks and Regards,
Nani


-- modified at 4:39 Wednesday 6th June, 2007
QuestionRe: Huge increase in memory usage with Debug binary Pin
David Crow6-Jun-07 3:03
David Crow6-Jun-07 3:03 
AnswerRe: Huge increase in memory usage with Debug binary Pin
mandanani6-Jun-07 18:14
mandanani6-Jun-07 18:14 
AnswerRe: Huge increase in memory usage with Debug binary Pin
Cyrilix6-Jun-07 4:24
Cyrilix6-Jun-07 4:24 
GeneralRe: Huge increase in memory usage with Debug binary Pin
David Crow6-Jun-07 4:57
David Crow6-Jun-07 4:57 
GeneralRe: Huge increase in memory usage with Debug binary Pin
mandanani6-Jun-07 18:29
mandanani6-Jun-07 18:29 
AnswerRe: Huge increase in memory usage with Debug binary Pin
Mark Salsbery6-Jun-07 5:39
Mark Salsbery6-Jun-07 5:39 
GeneralRe: Huge increase in memory usage with Debug binary Pin
mandanani6-Jun-07 18:21
mandanani6-Jun-07 18:21 
QuestionSet the values of a field Pin
villaa5-Jun-07 22:20
villaa5-Jun-07 22:20 
AnswerRe: Set the values of a field Pin
Paresh Chitte6-Jun-07 0:58
Paresh Chitte6-Jun-07 0:58 
AnswerRe: Set the values of a field Pin
Hamid_RT6-Jun-07 7:55
Hamid_RT6-Jun-07 7:55 
QuestionLinking to ODBC.dll Pin
Programm3r5-Jun-07 22:19
Programm3r5-Jun-07 22:19 
AnswerRe: Linking to ODBC.dll Pin
Optimus Chaos5-Jun-07 22:36
Optimus Chaos5-Jun-07 22:36 
GeneralRe: Linking to ODBC.dll Pin
Programm3r5-Jun-07 22:43
Programm3r5-Jun-07 22:43 
GeneralRe: Linking to ODBC.dll Pin
Optimus Chaos5-Jun-07 22:54
Optimus Chaos5-Jun-07 22:54 
GeneralRe: Linking to ODBC.dll Pin
Programm3r5-Jun-07 23:16
Programm3r5-Jun-07 23:16 
QuestionRe: Linking to ODBC.dll Pin
David Crow6-Jun-07 3:50
David Crow6-Jun-07 3:50 
QuestionHow to get homeDirectory Pin
VC_RYK5-Jun-07 22:12
VC_RYK5-Jun-07 22:12 

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.