Comment on Mountain Lion seems to have addressed the memory management issues in OS XComments−pooriaazimi14yQuestion: (2009 15" MBP, 8GB 1333MHz RAM, 7200rpm HDD, Mountain Lion)I have zillions of apps open. 1GB wired, 3.25GB active, 1GB inactive, 2.55 free 757,197 Page Ins 0 Page Outs It's confusing... If I haven't "swapped out" (page out) anything to disk, then how come I've "swapped in" (page in) 750,000 pages from the disk?−achivetta14yIf you mmap a file, and then access the mmap'ed region, pulling in the pages of the file from disk is considered paging the file in. Watch the output of fs_usage to see examples of this.
Comments
Question: (2009 15" MBP, 8GB 1333MHz RAM, 7200rpm HDD, Mountain Lion)
I have zillions of apps open.
It's confusing... If I haven't "swapped out" (page out) anything to disk, then how come I've "swapped in" (page in) 750,000 pages from the disk?If you mmap a file, and then access the mmap'ed region, pulling in the pages of the file from disk is considered paging the file in. Watch the output of fs_usage to see examples of this.