FROM : Daniel Hazelbaker
DATE : Thu Mar 27 20:45:42 2008
On Mar 27, 2008, at 12:20 PM, Hamish Allan wrote:
> On Thu, Mar 27, 2008 at 5:37 PM, Daniel Hazelbaker
>
>> I am rather stumped since leaks show it is not leaking memory yet
>> something, apparently in the system, is allocating memory in huge
>> chunks randomly.
>
> I have experienced this when I have spawned a long-lived thread but
> not ensured that my autorelease pool is drained regularly enough.
> Perhaps this applies in your case?
>
> Hamish
It is possible, but seems unlikely. I forgot to specifically mention
in my earlier post (I mentioned it in the other list and forgot on
this one), this is happening only on the new Mac Pro with the Radeon
HD 2600XT. My new MacBook Pro as well as my desktop iMac (intel) do
not exhibit this behavior. This is why I am really confused.
The Mac Pro doesn't get much past 25 minutes on any given run before
the first spike hits. My iMac and MacBook Pro both hit 1 hour 10
minutes with no spikes. Much past that and Instruments crashes due to
hitting the 4GB memory space limit. I guess ObjectAlloc wasn't
designed to track that much data. ;) I am going to be trying some
unusual things in the next few nights like swapping video cards around
(these are people's desktop machines so I can't do it during the day)
and see if I can track it down to something hardware, but it sure
would be easier to track if I could see what calls were generating the
allocations.
Daniel
DATE : Thu Mar 27 20:45:42 2008
On Mar 27, 2008, at 12:20 PM, Hamish Allan wrote:
> On Thu, Mar 27, 2008 at 5:37 PM, Daniel Hazelbaker
>
>> I am rather stumped since leaks show it is not leaking memory yet
>> something, apparently in the system, is allocating memory in huge
>> chunks randomly.
>
> I have experienced this when I have spawned a long-lived thread but
> not ensured that my autorelease pool is drained regularly enough.
> Perhaps this applies in your case?
>
> Hamish
It is possible, but seems unlikely. I forgot to specifically mention
in my earlier post (I mentioned it in the other list and forgot on
this one), this is happening only on the new Mac Pro with the Radeon
HD 2600XT. My new MacBook Pro as well as my desktop iMac (intel) do
not exhibit this behavior. This is why I am really confused.
The Mac Pro doesn't get much past 25 minutes on any given run before
the first spike hits. My iMac and MacBook Pro both hit 1 hour 10
minutes with no spikes. Much past that and Instruments crashes due to
hitting the 4GB memory space limit. I guess ObjectAlloc wasn't
designed to track that much data. ;) I am going to be trying some
unusual things in the next few nights like swapping video cards around
(these are people's desktop machines so I can't do it during the day)
and see if I can track it down to something hardware, but it sure
would be easier to track if I could see what calls were generating the
allocations.
Daniel
| Related mails | Author | Date |
|---|---|---|
| Daniel Hazelbaker | Mar 27, 18:37 | |
| Hamish Allan | Mar 27, 20:20 | |
| Daniel Hazelbaker | Mar 27, 20:45 | |
| Michael Latta | Mar 27, 21:23 |






Cocoa mail archive

