Re: How to Find Memory Used (IVF 9.1, WinXP)
- From: "dpb" <dpbozarth@xxxxxxxx>
- Date: 29 Jun 2006 13:14:15 -0700
John S wrote:
I need to stay below the 2 GB limit before allocating some new arrays for
further processing.
Am trying to obtain memory usage inside of a program, so task manager is not
appropriate.
With IVF 9.1, use of: Windows API 'GetProcessMemoryInfo(pid)', where would
the *.mod header be, i.e., USE XXXX for this function ?
Did find how to get the pid but have not found GetProcessMemoryInfo or its
data structure PPROCESS_MEMORY_COUNTERS.
Probably have to write the interface yourself and compile it.
Documentation will be in the Windows SDK. I've not looked at XP, I
presume this is still there, if not there has to be a
replacement/equivalent. MS online documentation is next place to look
if you don't have the SDK doc's locally.
.
- Follow-Ups:
- References:
- How to Find Memory Used (IVF 9.1, WinXP)
- From: John S
- Re: How to Find Memory Used (IVF 9.1, WinXP)
- From: John S
- How to Find Memory Used (IVF 9.1, WinXP)
- Prev by Date: Re: How to Find Memory Used (IVF 9.1, WinXP)
- Next by Date: Re: How to Find Memory Used (IVF 9.1, WinXP)
- Previous by thread: Re: How to Find Memory Used (IVF 9.1, WinXP)
- Next by thread: Re: How to Find Memory Used (IVF 9.1, WinXP)
- Index(es):
Relevant Pages
|