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

C / C++ / MFC

 
QuestionSerialization Pin
ganesh_IT2-Sep-10 20:51
ganesh_IT2-Sep-10 20:51 
AnswerRe: Serialization Pin
Cedric Moonen2-Sep-10 20:58
Cedric Moonen2-Sep-10 20:58 
AnswerRe: Serialization Pin
CPallini2-Sep-10 22:03
mveCPallini2-Sep-10 22:03 
QuestionHow can control incresing size of FormView? Pin
Le@rner2-Sep-10 20:51
Le@rner2-Sep-10 20:51 
AnswerRe: How can control incresing size of FormView? Pin
Blake Miller3-Sep-10 12:12
Blake Miller3-Sep-10 12:12 
Questionmemory leak detection in unmanaged C++ MFC code Pin
Dave Calkins2-Sep-10 10:38
Dave Calkins2-Sep-10 10:38 
GeneralRe: memory leak detection in unmanaged C++ MFC code Pin
Code-o-mat2-Sep-10 11:27
Code-o-mat2-Sep-10 11:27 
GeneralRe: memory leak detection in unmanaged C++ MFC code Pin
Dave Calkins2-Sep-10 11:31
Dave Calkins2-Sep-10 11:31 
I thought that too, but I wrote a small test app which did a bunch of new ops then, when requested, freed them all.

What I noticed was that (when viewing these columns in Process Explorer) the virtual size never dropped back down. It just stayed where it was after all the new calls. But, the private bytes and working set did drop right back down after freeing the memory. And its these 2 columns where I'm seeing the persistent growth.

I check the memory usage, then load the data, the free it all, then check again and repeat this multiple times with the same instance of the app. Each time I get a growth in those columns.
AnswerRe: memory leak detection in unmanaged C++ MFC code Pin
Joe Woodbury2-Sep-10 12:26
professionalJoe Woodbury2-Sep-10 12:26 
GeneralRe: memory leak detection in unmanaged C++ MFC code Pin
Maximilien2-Sep-10 14:15
Maximilien2-Sep-10 14:15 
GeneralRe: memory leak detection in unmanaged C++ MFC code Pin
Dave Calkins2-Sep-10 14:17
Dave Calkins2-Sep-10 14:17 
AnswerRe: memory leak detection in unmanaged C++ MFC code Pin
Aescleal2-Sep-10 13:16
Aescleal2-Sep-10 13:16 
GeneralRe: memory leak detection in unmanaged C++ MFC code Pin
Dave Calkins2-Sep-10 14:18
Dave Calkins2-Sep-10 14:18 
GeneralRe: memory leak detection in unmanaged C++ MFC code Pin
CPallini2-Sep-10 23:55
mveCPallini2-Sep-10 23:55 
AnswerRe: memory leak detection in unmanaged C++ MFC code Pin
viniaks2-Sep-10 17:06
viniaks2-Sep-10 17:06 
GeneralRe: memory leak detection in unmanaged C++ MFC code Pin
Dave Calkins3-Sep-10 14:09
Dave Calkins3-Sep-10 14:09 
AnswerRe: memory leak detection in unmanaged C++ MFC code Pin
Rick York3-Sep-10 6:56
mveRick York3-Sep-10 6:56 
GeneralRe: memory leak detection in unmanaged C++ MFC code Pin
Dave Calkins3-Sep-10 14:08
Dave Calkins3-Sep-10 14:08 
AnswerRe: memory leak detection in unmanaged C++ MFC code Pin
Blake Miller3-Sep-10 12:16
Blake Miller3-Sep-10 12:16 
GeneralRe: memory leak detection in unmanaged C++ MFC code Pin
Dave Calkins3-Sep-10 14:09
Dave Calkins3-Sep-10 14:09 
QuestionDirectory Info using GetFileInformationByHandleEx Pin
gothic_coder2-Sep-10 3:48
gothic_coder2-Sep-10 3:48 
AnswerRe: Directory Info using GetFileInformationByHandleEx Pin
«_Superman_»2-Sep-10 17:45
professional«_Superman_»2-Sep-10 17:45 
GeneralRe: Directory Info using GetFileInformationByHandleEx Pin
gothic_coder2-Sep-10 21:02
gothic_coder2-Sep-10 21:02 
QuestionRe: Directory Info using GetFileInformationByHandleEx Pin
David Crow3-Sep-10 3:18
David Crow3-Sep-10 3:18 
AnswerRe: Directory Info using GetFileInformationByHandleEx Pin
gothic_coder3-Sep-10 21:36
gothic_coder3-Sep-10 21:36 

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.