views:

113

answers:

2

While playing with memory profiling in delphi, although it applies to any language I've found some terms about used memory which I don't completely understand. Could someone explain (or refer to a good document or manual) the meaning of the following terms?

  • Working set size
  • Pagefile used
  • Committed memory
  • Uncommited memory
  • Private Usage (from the PROCESS_MEMORY_COUNTERS_EX struct)
  • PagedPool
  • NonPagedPool
  • Total Address Space (from a THeapStatus in delphi memory manager)
  • TotalAllocated (from a THeapStatus in delphi memory manager)

The msdn has a brief description of each field but the intricacies of their meaning is beyond me. Things like, when does each section grow? what are they used for? if you measure one value, what is it telling you?

+2  A: 

The Memory Management Glossary

joe
+3  A: 

You should read series of brilliant articles by Mark Russinovich: Pushing the Limits of Windows.

Kirill V. Lyadvinsky
+1 that looks like a lovely set of articles. But to asker: You really need to take the time to understand how a page-based virtual memory system works for those terms to get any real meaning.
Falaina