| View previous topic :: View next topic |
| Author |
Message |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Fri Feb 27, 2004 9:43 pm Post subject: Find the amount of memory a running process uses? |
|
|
How can I find the amount of memory that a running process uses? It
can probably be done with API but I'm not sure how to approach this one.
Thanks in advance for any help.  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
Dr. Dread Professional Member


Joined: 03 Aug 2001 Posts: 1065 Location: Copenhagen, Denmark
|
Posted: Sat Feb 28, 2004 5:24 pm Post subject: |
|
|
You could look into the process status API (psAPI) which has functions to do this!
I've been using psAPI in a DLL that I've been fiddling with - if you need it let me know and I guess it shouldn't
be too difficult to add a process memory usage function in there too.
Greetz
Dread _________________ ~~ Alcohol and calculus don't mix... Don't drink and derive! ~~
String.DLL * advanced string processing |
|
| Back to top |
|
 |
Dr. Dread Professional Member


Joined: 03 Aug 2001 Posts: 1065 Location: Copenhagen, Denmark
|
Posted: Sat Feb 28, 2004 5:28 pm Post subject: |
|
|
Oh, I forgot to add in that psAPI is for NT based systems only...
Greetz
Dread _________________ ~~ Alcohol and calculus don't mix... Don't drink and derive! ~~
String.DLL * advanced string processing |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Sun Feb 29, 2004 4:58 am Post subject: |
|
|
Thanks for the tip - I think I'll look into that.  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
CodeScript Moderator Team

Joined: 08 Jun 2003 Posts: 1060 Location: India
|
Posted: Sun Feb 29, 2004 5:24 am Post subject: |
|
|
I think in win 9x there are not much restrictions on memory and Tool help APIs are available from User32.dll _________________ Regards
- CodeScript
Give your application a professional look with the VDSGUI Extension |
|
| Back to top |
|
 |
|