Click here to Skip to main content
15,914,074 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: PostMessage Pin
tom groezer8-Jul-07 4:54
tom groezer8-Jul-07 4:54 
GeneralRe: PostMessage Pin
mid=57419-Jul-07 5:30
mid=57419-Jul-07 5:30 
QuestionRe: PostMessage Pin
jbalaji849-Aug-07 21:18
jbalaji849-Aug-07 21:18 
AnswerRe: PostMessage Pin
Randor 8-Jul-07 6:57
professional Randor 8-Jul-07 6:57 
GeneralRe: PostMessage Pin
Bogdan Apostol8-Jul-07 8:59
Bogdan Apostol8-Jul-07 8:59 
GeneralRe: PostMessage Pin
Randor 8-Jul-07 9:06
professional Randor 8-Jul-07 9:06 
AnswerRe: PostMessage Pin
Bogdan Apostol8-Jul-07 10:43
Bogdan Apostol8-Jul-07 10:43 
QuestionGet exact memory usage of a process. Pin
zecodela7-Jul-07 23:03
zecodela7-Jul-07 23:03 
Hi All,
I am debugging my application by printing the Working Set at the specific point with the function provided in psapi.h
My purpose is to check which part of my application used up the memory.
However, just look at the Working Set is not very conclusive. I found if allocated 1k memory in the app but the Working Set may not grow up 1k accordingly. It will grow eventually(say allocated 10 times 1k, Working Set will grow up around 10k.)
In the psapi.h, there are several values such PageFault, PagedPool, Pagefile... i can see those values will change each time when allocating memory. I guess the result of memory allocation action has reflected in those values.
What i want to ask is any formula to calculate the exact memory usage of the application? say, i do "new char[128]" the memory usage result will grow up 128byte immediately.

Any reply will be appreciated!

Thanks!

Jim

AnswerRe: Get exact memory usage of a process. Pin
Bogdan Apostol8-Jul-07 1:09
Bogdan Apostol8-Jul-07 1:09 
QuestionWM_COPYDATA message Pin
tom groezer7-Jul-07 22:35
tom groezer7-Jul-07 22:35 
AnswerRe: WM_COPYDATA message Pin
Bogdan Apostol8-Jul-07 1:20
Bogdan Apostol8-Jul-07 1:20 
GeneralRe: WM_COPYDATA message Pin
tom groezer8-Jul-07 5:08
tom groezer8-Jul-07 5:08 
GeneralRe: WM_COPYDATA message Pin
Randor 8-Jul-07 5:50
professional Randor 8-Jul-07 5:50 
GeneralRe: WM_COPYDATA message Pin
Bogdan Apostol8-Jul-07 8:35
Bogdan Apostol8-Jul-07 8:35 
Questionnew control icon into vc++ toobox Pin
eagle517-Jul-07 22:22
eagle517-Jul-07 22:22 
AnswerRe: new control icon into vc++ toobox Pin
David Crow9-Jul-07 3:44
David Crow9-Jul-07 3:44 
GeneralRe: new control icon into vc++ toobox Pin
eagle5110-Jul-07 23:06
eagle5110-Jul-07 23:06 
GeneralRe: new control icon into vc++ toobox Pin
David Crow11-Jul-07 2:29
David Crow11-Jul-07 2:29 
QuestionHyperTerminal script Pin
stevelizardi7-Jul-07 20:18
stevelizardi7-Jul-07 20:18 
QuestionInterprocess commmunication Pin
tom groezer7-Jul-07 11:41
tom groezer7-Jul-07 11:41 
AnswerRe: Interprocess commmunication Pin
Mark Salsbery7-Jul-07 12:10
Mark Salsbery7-Jul-07 12:10 
QuestionNotepad Pin
tom groezer7-Jul-07 11:37
tom groezer7-Jul-07 11:37 
AnswerRe: Notepad Pin
David Crow9-Jul-07 3:47
David Crow9-Jul-07 3:47 
QuestionMessage queue Pin
tom groezer7-Jul-07 11:35
tom groezer7-Jul-07 11:35 
AnswerRe: Message loop Pin
Mark Salsbery7-Jul-07 11:56
Mark Salsbery7-Jul-07 11:56 

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.