{"id":3778,"date":"2014-03-30T05:31:15","date_gmt":"2014-03-30T05:31:15","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/how-find-the-source-of-memory-pressure-in-an-ios-application-collection-of-common-programming-errors\/"},"modified":"2014-03-30T05:31:15","modified_gmt":"2014-03-30T05:31:15","slug":"how-find-the-source-of-memory-pressure-in-an-ios-application-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/how-find-the-source-of-memory-pressure-in-an-ios-application-collection-of-common-programming-errors\/","title":{"rendered":"How Find the Source of Memory Pressure in an iOS Application-Collection of common programming errors"},"content":{"rendered":"<p>I think 10 to 30 mb of app&#8217;s memory usage is not an issue especially for latest model iOS devices (like iPhone 4 and 5), unless you have lot of other memory intensive apps running in background. They have 512mb to 1 GB RAM.<\/p>\n<p><em>Diagnosis<\/em> of issue &#8211;<\/p>\n<p>To begin with, use memory graph in XCode 5. You may find this link useful.<\/p>\n<p>Also, you may like to put breakpoints in <code>didReceiveMemoryWarning<\/code> method provided by UIViewController.<\/p>\n<p>And, to further dig down, switch to profile your app. (Xcode menu <strong>Product<\/strong> &gt; <strong>Profile<\/strong> and choose <strong>Allocations<\/strong> in the dialog). Here, you will find a good tutorial.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I think 10 to 30 mb of app&#8217;s memory usage is not an issue especially for latest model iOS devices (like iPhone 4 and 5), unless you have lot of other memory intensive apps running in background. They have 512mb to 1 GB RAM. Diagnosis of issue &#8211; To begin with, use memory graph in [&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-3778","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3778","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=3778"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3778\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=3778"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=3778"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=3778"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}