• 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
Re: ANN: VMTester - virtual memory testing utility
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ANN: VMTester - virtual memory testing utility


  • Subject: Re: ANN: VMTester - virtual memory testing utility
  • From: Ben Dougall <email@hidden>
  • Date: Tue, 5 Apr 2005 23:08:43 +0100


On Tuesday, April 5, 2005, at 10:44 pm, Cameron Hayne wrote:


But so far, I find that it is proving some of my previous statements wrong -
those about the "inactive" memory. Of course, it's not entirely my fault
since I was just repeating what Apple has said in its developer docs
(http://developer.apple.com/documentation/Performance/Conceptual/ ManagingMem
ory/Concepts/AboutMemory.html) and in this relatively recent article on
Activity Monitor: http://docs.info.apple.com/article.html?artnum=107918


When I allocate memory using my VMTester app, I see that it is adding to the
"inactive" list. I had expected to see it added to the "active" list instead

i think it's like this:
allocating it just ear marks it -- you don't actually, physically get the memory when you allocate it. when you make use of it, that's when things actually happen. so i think if you were to allocate 100mb of memory not a lot happens, apart from you now have the right to use 100mb of memory. when and if you use, say just 1mb of that 100mb, that's when things actually happen. that's when real memory (1mb) is taken over by your app. it allocates on actual access/use -- puts allocation off to the last possible moment basically i think.


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: ANN: VMTester - virtual memory testing utility
      • From: Cameron Hayne <email@hidden>
References: 
 >ANN: VMTester - virtual memory testing utility (From: Cameron Hayne <email@hidden>)

  • Prev by Date: Re: ADC Core Data article
  • Next by Date: Re: ANN: VMTester - virtual memory testing utility
  • Previous by thread: ANN: VMTester - virtual memory testing utility
  • Next by thread: Re: ANN: VMTester - virtual memory testing utility
  • Index(es):
    • Date
    • Thread