Amout of memory used by a process
-
Hi I have already made this post a while back, I am trying again. How can i get the total amount of memory used by a process at any given time? I know about GetprocessWorkingSetSize, but this works only on Winnt and not 9x systems, also this function will give only the max and min usages.
-
Hi I have already made this post a while back, I am trying again. How can i get the total amount of memory used by a process at any given time? I know about GetprocessWorkingSetSize, but this works only on Winnt and not 9x systems, also this function will give only the max and min usages.
I don't think you can know process's memory in Win95/98. Can task manager give you such information in those OS? Philip Patrick Web-site: www.stpworks.com "Two beer or not two beer?" Shakesbeer Need Web-based database administrator? You already have it!
-
Hi I have already made this post a while back, I am trying again. How can i get the total amount of memory used by a process at any given time? I know about GetprocessWorkingSetSize, but this works only on Winnt and not 9x systems, also this function will give only the max and min usages.
This app is a very good one.. but it's an app.. not code :( TaskInfo 2000 @ www.iarsn.com Rickard Andersson@Suza Computing ICQ#: 50302279 (Add me!) E-mail: nikado@pc.nu I'm from the winter country SWEDEN!
-
Hi I have already made this post a while back, I am trying again. How can i get the total amount of memory used by a process at any given time? I know about GetprocessWorkingSetSize, but this works only on Winnt and not 9x systems, also this function will give only the max and min usages.
Hi Prem. It is not easy task that you're trying to accomplish, but fortunately Keit Rule already wrote the stuff in his article Debugging & Testing Tips for Win9x (check
GetHeapSize
's code.) Joaquín M López Muñoz Telefónica, Investigación y Desarrollo -
Hi Prem. It is not easy task that you're trying to accomplish, but fortunately Keit Rule already wrote the stuff in his article Debugging & Testing Tips for Win9x (check
GetHeapSize
's code.) Joaquín M López Muñoz Telefónica, Investigación y DesarrolloHi, The Heap size is not enough for what i am trying to do. I want to get the amount of virtual memory also, In Winnt I can use the PSAPI function GetProcessMemoryInfo to get the total amout of memory a process is using. Yeah I have looked at the ToolHelp functions already(which by the way are not available in Winnt) do not give the Virtual memory usage.
-
This app is a very good one.. but it's an app.. not code :( TaskInfo 2000 @ www.iarsn.com Rickard Andersson@Suza Computing ICQ#: 50302279 (Add me!) E-mail: nikado@pc.nu I'm from the winter country SWEDEN!
Are you replying to my post? The code needed is shown in full in the article itself, you don't have to download the project. Joaquín M López Muñoz Telefónica, Investigación y Desarrollo
-
Hi, The Heap size is not enough for what i am trying to do. I want to get the amount of virtual memory also, In Winnt I can use the PSAPI function GetProcessMemoryInfo to get the total amout of memory a process is using. Yeah I have looked at the ToolHelp functions already(which by the way are not available in Winnt) do not give the Virtual memory usage.
Please correct me if I'm wrong, but I'd say heaps account for all the memory available to a process (save the memory needed for the executable code.) If you know this is not so, I'd be grateful if you could ellaborate a little more. Joaquín M López Muñoz Telefónica, Investigación y Desarrollo
-
Are you replying to my post? The code needed is shown in full in the article itself, you don't have to download the project. Joaquín M López Muñoz Telefónica, Investigación y Desarrollo
If he don't want to do it programmaticly (in fact he is :) but WTH :)) I gave a good a example of an app that can show realy much info, such memory usage etc... I'm tired and can't spell or write sentences in english that is correct enough to understan (maybe)... I need my bed now... sleep well my CP friend! Rickard Andersson@Suza Computing ICQ#: 50302279 (Add me!) E-mail: nikado@pc.nu I'm from the winter country SWEDEN!
-
This app is a very good one.. but it's an app.. not code :( TaskInfo 2000 @ www.iarsn.com Rickard Andersson@Suza Computing ICQ#: 50302279 (Add me!) E-mail: nikado@pc.nu I'm from the winter country SWEDEN!
There is code which you download along with the article.
-
Please correct me if I'm wrong, but I'd say heaps account for all the memory available to a process (save the memory needed for the executable code.) If you know this is not so, I'd be grateful if you could ellaborate a little more. Joaquín M López Muñoz Telefónica, Investigación y Desarrollo
Hi, I think that the Heap is not the whole memory, Functions using the the Virtual memory functions might not be listed as a part of a heap, infact some system dll's themselves are allocating using VirtualAlloc and not calling VirtualFree in some circumstances, and we want to test for it and force them to free it.
-
If he don't want to do it programmaticly (in fact he is :) but WTH :)) I gave a good a example of an app that can show realy much info, such memory usage etc... I'm tired and can't spell or write sentences in english that is correct enough to understan (maybe)... I need my bed now... sleep well my CP friend! Rickard Andersson@Suza Computing ICQ#: 50302279 (Add me!) E-mail: nikado@pc.nu I'm from the winter country SWEDEN!
sleep well my CP friend! Sweet dreams :) Joaquín M López Muñoz Telefónica, Investigación y Desarrollo