{"id":3971,"date":"2014-03-30T06:45:10","date_gmt":"2014-03-30T06:45:10","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/windows-task-manager-shows-process-memory-keeps-growing-even-though-there-are-no-memory-leaks-collection-of-common-programming-errors\/"},"modified":"2014-03-30T06:45:10","modified_gmt":"2014-03-30T06:45:10","slug":"windows-task-manager-shows-process-memory-keeps-growing-even-though-there-are-no-memory-leaks-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/windows-task-manager-shows-process-memory-keeps-growing-even-though-there-are-no-memory-leaks-collection-of-common-programming-errors\/","title":{"rendered":"Windows Task Manager shows process memory keeps growing even though there are no memory leaks-Collection of common programming errors"},"content":{"rendered":"<p>Just because there is a growing amount of memory usage doesn&#8217;t mean it is necessarily &#8216;leaking&#8217;. You could simply be accumulating a large number of live objects and\/or very large ones (containing lots and lots of data).<\/p>\n<p>If you can provide more information about what language(s) you are using and what the application is doing I can perhaps help out with some more specific information!<\/p>\n<p><strong>UPDATE AS PER COMMENTS<\/strong> Well, you&#8217;ll just want to make sure the garbage collection is happening correctly. I&#8217;d suggest the libgc library to help with that perhaps. http:\/\/developers.sun.com\/solaris\/articles\/libgc.html<\/p>\n<p>The only other thing I could think of as being the cause of this is that you are maintaining references to the objects somewhere unintentionally so they are just piling up.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Just because there is a growing amount of memory usage doesn&#8217;t mean it is necessarily &#8216;leaking&#8217;. You could simply be accumulating a large number of live objects and\/or very large ones (containing lots and lots of data). If you can provide more information about what language(s) you are using and what the application is doing [&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-3971","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3971","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=3971"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3971\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=3971"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=3971"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=3971"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}