A memory & resource usage meter:

Whenever you need to examine the memory usage of an application, you normally use the standard Windows Resource Meter. However, if you're working with one particular application, there is one thing that may be convenient: A "+/- meter" that you reset and from that moment shows figures compared to this new zero level.


The application is not loaded with features, but at least it has an "auto-range" functionality - ensuring maximum resolution at any given time.

That's what this application does, and it's quite simple. There are 3 major topics:

  • Get the memory / resource status figures through GlobalMemoryStatus and GetFreeSystemResources WinAPI calls. The latter one is declared in rsrcintf.pas, a routine found in RSRC32.DLL
  • Store the figures in a list where only the latest are kept. This is done by a custom class: TRingList in VRingLists.pas
  • Painting graphs - the trick here is more that of calculating axis parameters than painting.



  • Download source code

    Download executable