• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
What is pages_resident (mach_vm_region_recurse) ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Deleting a file in KEXT
  • Next by Date: Re: How to get nbr of resident pages
  • Previous by thread: Querying for children pid
  • Next by thread: setting kernel shared memory on 10.7.3
  • Index(es):
    • Date
    • Thread