Your Mac OS X boot disk does not have free space for application memory

So, after starting my Objective-C application for about 8 hours, eventually my machine will display this error message. But after 24 hours with the help of tools, he completed about 1% of what the application can do in 8 hours without tools.

My application basically accepts input geometry and creates a navigation grid.

My question is: how can I find out where my problem is? I am sure that somewhere in my application I am requesting memory and not freeing it. I conducted an analysis that detected one leak, but not a significant one, and I fixed it.

I'm running tools right now for distributions / leaks, but after 16 minutes I don't see anything bright (I'm going to let this continue).

Here is a snapshot of where it is currently located: Instruments

Anyone have any ideas on how else I can debug this? I would like to be able to run this for about 20 hours so that it can finish, and this inevitably died: /

Thanks in advance!

+7
source share
1 answer

You will miss the memory like a champion!

  • enable "live live selections only" in the Distributions tool

  • enable “track tracking event counting” (or whatever it is called)

  • restart the session and sort by the General Bytes column

  • start at the top, most hungry memory allocations and click on the small arrow to see where all these allocations come from, continue down the list ...

This is very similar to Heapshot's analysis, and so this blog post I wrote some time ago can be useful.

+9
source

All Articles