FROM : Ben Dougall
DATE : Wed Apr 06 00:29:24 2005
On Tuesday, April 5, 2005, at 11:24 pm, Cameron Hayne wrote:
> On 4/5/05 6:08 PM, "Ben Dougall" <<email_removed>> wrote:
>
>> 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.
>
> Maybe you didn't notice that I said:
>>> Note that VMTester does try to make the allocated memory be active by
>>> writing and reading from it periodically.
oh right, sorry.
DATE : Wed Apr 06 00:29:24 2005
On Tuesday, April 5, 2005, at 11:24 pm, Cameron Hayne wrote:
> On 4/5/05 6:08 PM, "Ben Dougall" <<email_removed>> wrote:
>
>> 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.
>
> Maybe you didn't notice that I said:
>>> Note that VMTester does try to make the allocated memory be active by
>>> writing and reading from it periodically.
oh right, sorry.
| Related mails | Author | Date |
|---|---|---|
| Cameron Hayne | Apr 5, 23:44 | |
| Ben Dougall | Apr 6, 00:08 | |
| Cameron Hayne | Apr 6, 00:24 | |
| Ben Dougall | Apr 6, 00:29 | |
| Scott Ribe | Apr 6, 01:24 | |
| Cameron Hayne | Apr 6, 02:10 |






Cocoa mail archive

