{"id":3792,"date":"2014-03-30T05:38:16","date_gmt":"2014-03-30T05:38:16","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/iphone-should-i-use-instruments-to-verify-memory-leaks-collection-of-common-programming-errors\/"},"modified":"2014-03-30T05:38:16","modified_gmt":"2014-03-30T05:38:16","slug":"iphone-should-i-use-instruments-to-verify-memory-leaks-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/iphone-should-i-use-instruments-to-verify-memory-leaks-collection-of-common-programming-errors\/","title":{"rendered":"IPhone: Should I use &#39;instruments&#39; to verify memory leaks?-Collection of common programming errors"},"content":{"rendered":"<p>No.<\/p>\n<p>But at least run &#8220;Build &amp; Analyze&#8221; in the XCode. It tells you what it can find about the memory leaks, just by analyzing the source code statically. It&#8217;s basically eye-balling the code by the machine. It&#8217;s infinitely better than doing that yourself. If there&#8217;re any warnings issued, fix all of them. It&#8217;s rare for the static analyzer to give false positives.<\/p>\n<p>Also, running your app with Instruments is helpful to see how it really allocates memories. Sometimes it&#8217;s fun, too.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>No. But at least run &#8220;Build &amp; Analyze&#8221; in the XCode. It tells you what it can find about the memory leaks, just by analyzing the source code statically. It&#8217;s basically eye-balling the code by the machine. It&#8217;s infinitely better than doing that yourself. If there&#8217;re any warnings issued, fix all of them. It&#8217;s rare [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3792","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3792","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=3792"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3792\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=3792"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=3792"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=3792"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}