Click here to Skip to main content
15,444,523 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: WM_DEVICECHANGE sets wParam to unexpected value of 7 - how to troubleshoot this? Pin
PecuniousPete9-Dec-12 20:23
MemberPecuniousPete9-Dec-12 20:23 
Questionhow to find out the codes who eat up my memory? Pin
Falconapollo7-Dec-12 2:32
MemberFalconapollo7-Dec-12 2:32 
AnswerRe: how to find out the codes who eat up my memory? Pin
Richard MacCutchan7-Dec-12 2:54
mveRichard MacCutchan7-Dec-12 2:54 
QuestionRe: how to find out the codes who eat up my memory? Pin
David Crow7-Dec-12 2:55
MemberDavid Crow7-Dec-12 2:55 
AnswerRe: how to find out the codes who eat up my memory? Pin
Falconapollo7-Dec-12 3:11
MemberFalconapollo7-Dec-12 3:11 
QuestionRe: how to find out the codes who eat up my memory? Pin
David Crow7-Dec-12 3:25
MemberDavid Crow7-Dec-12 3:25 
AnswerRe: how to find out the codes who eat up my memory? Pin
Falconapollo7-Dec-12 3:28
MemberFalconapollo7-Dec-12 3:28 
AnswerRe: how to find out the codes who eat up my memory? Pin
Joe Woodbury7-Dec-12 8:30
professionalJoe Woodbury7-Dec-12 8:30 
First, when you do a malloc or new, you extend the heap. For optimization reasons, the memory manager may not return the heap back to the OS immediately. When needing to allocate especially large chunks of memory, you can use a low level API directly or, with some compilers/CRTs, a different heap (for Windows, here's an article discussion various options: http://msdn.microsoft.com/en-us/library/windows/desktop/aa366533%28v=vs.85%29.aspx[^].)

Also note that if you allocate memory and sit around, the OS may page it out. To understand the difference in Windows, look into "private bytes" and "working set".
AnswerRe: how to find out the codes who eat up my memory? Pin
vr9999999998-Dec-12 1:25
Membervr9999999998-Dec-12 1:25 
AnswerRe: how to find out the codes who eat up my memory? Pin
PecuniousPete11-Dec-12 20:42
MemberPecuniousPete11-Dec-12 20:42 
QuestionImage processing and converter Pin
_Flaviu6-Dec-12 22:12
Member_Flaviu6-Dec-12 22:12 
QuestionRe: Image processing and converter Pin
Richard MacCutchan6-Dec-12 22:18
mveRichard MacCutchan6-Dec-12 22:18 
AnswerRe: Image processing and converter Pin
_Flaviu6-Dec-12 22:26
Member_Flaviu6-Dec-12 22:26 
GeneralRe: Image processing and converter Pin
Richard MacCutchan6-Dec-12 23:32
mveRichard MacCutchan6-Dec-12 23:32 
GeneralRe: Image processing and converter Pin
_Flaviu7-Dec-12 1:00
Member_Flaviu7-Dec-12 1:00 
GeneralRe: Image processing and converter Pin
Richard MacCutchan7-Dec-12 1:11
mveRichard MacCutchan7-Dec-12 1:11 
GeneralRe: Image processing and converter Pin
_Flaviu7-Dec-12 1:44
Member_Flaviu7-Dec-12 1:44 
GeneralRe: Image processing and converter Pin
Chris Losinger10-Dec-12 8:05
professionalChris Losinger10-Dec-12 8:05 
AnswerRe: Image processing and converter Pin
Joe Woodbury7-Dec-12 8:39
professionalJoe Woodbury7-Dec-12 8:39 
QuestionUniversal Patch Finder Native Plug-ins Pin
Hypercube Softwares6-Dec-12 20:41
MemberHypercube Softwares6-Dec-12 20:41 
AnswerRe: Universal Patch Finder Native Plug-ins Pin
Richard MacCutchan6-Dec-12 22:16
mveRichard MacCutchan6-Dec-12 22:16 
QuestionHow to detect window event : Log on, log off, standby... Pin
vunhutien6-Dec-12 16:27
Membervunhutien6-Dec-12 16:27 
AnswerRe: How to detect window event : Log on, log off, standby... Pin
Richard MacCutchan6-Dec-12 22:14
mveRichard MacCutchan6-Dec-12 22:14 
Question_ApplicationPtr definition in OLE program Pin
ForNow6-Dec-12 13:30
MemberForNow6-Dec-12 13:30 
AnswerRe: _ApplicationPtr definition in OLE program Pin
Peter_in_27806-Dec-12 15:18
professionalPeter_in_27806-Dec-12 15:18 

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.