Note that there are some explanatory texts on larger screens.

plurals
  1. POHelp w/ memory management...allocations shows no leaks but program leaks like crazy
    primarykey
    data
    text
    <p>So I have autoreleased/released every object that I alloc/init/copy...and the allocations instrument seems to show minimal leaks...however...my program's memory usage does not stop increasing. I have included a screenshot of my allocations run (I have run allocations for longer but it remains relatively constant...it certainly does not compare to the amount the program gains when actually running. When running my program it will double in memory over the course of about 10 hours. The memory drastically increases in the first 5 minutes however (2-3MB), and just keeps on going. I don't understand why allocations would remain constant when running in instruments but my program would just keep gaining memory when actually run.</p> <p>Since I can't post images yet...here is the link to the screenshot:</p> <p><a href="http://dl.dropbox.com/u/2636863/Screen%20shot%202010-11-25%20at%2012.22.10%20PM.png" rel="nofollow">allocations run</a></p> <p>UPDATE: Here are some screenshots from my memory heapshot analysis...I am not allocating these objects explicitly and don't really know where they are coming from. Almost all of them have their source with something similar to the second screenshot details on the right (lots of HTTPs and URLs in the call tree). Anybody know where these are coming from? I know I've read about some NSURLConnection leaks but I have tried all of the cache clearing that those suggest to no avail. Thanks for all the help so far!</p> <p><a href="http://dl.dropbox.com/u/2636863/SS1.png" rel="nofollow">memory heap analysis 1</a></p> <p><a href="http://dl.dropbox.com/u/2636863/SS2.png" rel="nofollow">memory heap analysis 2</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload