
{"id":14242,"date":"2013-09-20T13:51:29","date_gmt":"2013-09-20T13:51:29","guid":{"rendered":"http:\/\/www.beautifulwork.org\/?p=14242"},"modified":"2013-09-20T13:51:29","modified_gmt":"2013-09-20T13:51:29","slug":"detecting-memory-leaks","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2013\/09\/20\/detecting-memory-leaks\/","title":{"rendered":"Detecting Memory leaks"},"content":{"rendered":"<h4><u>commandline session<\/u><\/h4>\n<pre>\n$valgrind --tool=memcheck --leak-check=full .\/a.out\n==6002== Memcheck, a memory error detector\n==6002== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al.\n==6002== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info\n==6002== Command: .\/a.out\n==6002==\n-31\n0\n1\n2\n2\n4\n100\n83\n99\n782\n==6002==\n==6002== HEAP SUMMARY:\n==6002==     in use at exit: 0 bytes in 0 blocks\n==6002==   total heap usage: 0 allocs, 0 frees, 0 bytes allocated\n==6002==\n==6002== All heap blocks were freed -- no leaks are possible\n==6002==\n==6002== For counts of detected and suppressed errors, rerun with: -v\n==6002== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 2 from 2)\n$\n\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>commandline session $valgrind &#8211;tool=memcheck &#8211;leak-check=full .\/a.out ==6002== Memcheck, a memory error detector ==6002== Copyright (C) 2002-2012, and GNU GPL&#8217;d, by Julian Seward et al. ==6002== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info ==6002== Command: .\/a.out ==6002== -31 0 1 2 2 4 100 83 99 782 ==6002== ==6002== HEAP SUMMARY: ==6002== in &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.trueangle.org\/index.php\/2013\/09\/20\/detecting-memory-leaks\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Detecting Memory leaks&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[83],"tags":[1014,1107,1108,1639],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/14242"}],"collection":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/comments?post=14242"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/14242\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=14242"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=14242"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=14242"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}