Click here to Skip to main content
15,907,392 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: using task manager to monitor memory Pin
Hamid_RT13-Jan-08 3:54
Hamid_RT13-Jan-08 3:54 
GeneralRe: using task manager to monitor memory Pin
George_George13-Jan-08 4:05
George_George13-Jan-08 4:05 
GeneralRe: using task manager to monitor memory Pin
Hamid_RT14-Jan-08 18:28
Hamid_RT14-Jan-08 18:28 
GeneralRe: using task manager to monitor memory Pin
George_George14-Jan-08 18:40
George_George14-Jan-08 18:40 
GeneralRe: using task manager to monitor memory Pin
Hamid_RT14-Jan-08 19:05
Hamid_RT14-Jan-08 19:05 
GeneralRe: using task manager to monitor memory Pin
George_George14-Jan-08 19:56
George_George14-Jan-08 19:56 
GeneralRe: using task manager to monitor memory Pin
Hamid_RT14-Jan-08 20:36
Hamid_RT14-Jan-08 20:36 
Generalnew and VirtualAlloc Pin
George_George12-Jan-08 21:42
George_George12-Jan-08 21:42 
Hello everyone,


I heard some points that the memory allocated by new does not belongs to virtual memory, and onlymemory allocated by VirtualAlloc belongs to virtual memory.

1.

I think this statement is not correct. Since all memory touched by current process belongs to virtual memory (either reserved or committed). No matter how (through which API) developer is using.

2.

And new always utilize VirtualAlloc in underlying internal implementation code, so new (in implementation point of view) will consume virtual memory -- the same as what VirtualAlloc does.

Are my points (1) and (2) correct?


thanks in advance,
George
GeneralRe: new and VirtualAlloc Pin
CPallini13-Jan-08 1:39
mveCPallini13-Jan-08 1:39 
GeneralRe: new and VirtualAlloc Pin
George_George13-Jan-08 2:39
George_George13-Jan-08 2:39 
GeneralRe: new and VirtualAlloc Pin
zengkun10013-Jan-08 4:20
zengkun10013-Jan-08 4:20 
GeneralRe: new and VirtualAlloc Pin
George_George13-Jan-08 16:32
George_George13-Jan-08 16:32 
GeneralRe: new and VirtualAlloc Pin
zengkun10013-Jan-08 23:19
zengkun10013-Jan-08 23:19 
GeneralRe: new and VirtualAlloc Pin
George_George13-Jan-08 23:20
George_George13-Jan-08 23:20 
GeneralRe: new and VirtualAlloc Pin
22491713-Jan-08 21:55
22491713-Jan-08 21:55 
GeneralRe: new and VirtualAlloc Pin
George_George13-Jan-08 22:51
George_George13-Jan-08 22:51 
QuestionHow a service startup automatic? Pin
hameduser12-Jan-08 19:10
hameduser12-Jan-08 19:10 
AnswerRe: How a service startup automatic? Pin
Mark Salsbery13-Jan-08 9:20
Mark Salsbery13-Jan-08 9:20 
AnswerPlease help me Pin
hameduser13-Jan-08 19:45
hameduser13-Jan-08 19:45 
GeneralRe: Please help me Pin
22491713-Jan-08 22:17
22491713-Jan-08 22:17 
Generalopen app from shell report an error [updated] Pin
followait12-Jan-08 18:58
followait12-Jan-08 18:58 
GeneralTelnet, FTP and smtp server Pin
bigjoe11a12-Jan-08 17:04
bigjoe11a12-Jan-08 17:04 
GeneralRe: Telnet, FTP and smtp server Pin
Hamid_RT12-Jan-08 18:17
Hamid_RT12-Jan-08 18:17 
GeneralRe: Telnet, FTP and smtp server Pin
bigjoe11a13-Jan-08 4:52
bigjoe11a13-Jan-08 4:52 
GeneralRe: Telnet, FTP and smtp server Pin
Luc Pattyn13-Jan-08 5:06
sitebuilderLuc Pattyn13-Jan-08 5:06 

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.