What is pages_resident (mach_vm_region_recurse) ?
What is pages_resident (mach_vm_region_recurse) ?
- Subject: What is pages_resident (mach_vm_region_recurse) ?
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Tue, 24 Apr 2012 15:46:57 +0700
I have a program which does:
for ( all pids )
for all memory regions (via mach_vm_region_recurse)
remember object_id and pages_resident
The problem:
The sum (over all object_ids) of pages_resident is larger than what Activity Monitor shows as "Used:".
Often it is larger than the physical ram in my computer.
(Note: object_ids used by several pids are counted only once).
Maybe my program has a bug - or I am misunderstanding what pages_resident is about.
Could someone please enlighten me?
Kind regards,
Gerriet.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden