show first message show previous message Showing Logic-users Message 221702 of 246707 show next message show last message

Forum Index | Read LUG: Policy/Rules Messages Threads Digests | Post New Message | Search!

From: Dave Katz <dkatz@dkatz.org>
Date: Wed, 29 Nov 2006 at 2:19:01 PM
Subject: Re: [LUG] Re: Can anyone translate the Activity Viewer's behaviour?
Message #221702
This is a reply to #221689.
On Nov 29, 2006, at 8:17 AM, Nick Batzdorf wrote: > > But with 7GB installed you should be able to load Logic up to roughly > 3GB of real memory before things get flaky. So it seems weird that > the active segment rarely goes beyond a few hundred MB. This is an artifact of the VM subsystem. I just did a little experiment where I malloc()ed 500MB of memory, zeroed it (so that it really was real), read it all back (just to make sure) and then went to sleep, and all of it was flagged as inactive from the start. This kind of makes sense, as you don't want to mark *all* of the memory as active right off the bat (since then there will be no candidates for swapping.) Once a bunch of memory accesses start, the VM system will see which pieces of memory are getting used the most and flag them as active. So it makes sense that sucking up a sample library (and not using 99.99% of it) will result in a very large block marked Inactive. --Dave
Viewed 1935 times, 0 replies, 10 messages in thread. Reply to this message. Read this thread.

Forum Index | Read LUG: Policy/Rules Messages Threads Digests | Post New Message | Search!


© 1994-2008, All Rights Reserved.