{"id":255,"date":"2009-10-31T03:35:32","date_gmt":"2009-10-31T07:35:32","guid":{"rendered":"http:\/\/linuxhostingsupport.net\/blog\/?p=255"},"modified":"2013-03-20T08:41:10","modified_gmt":"2013-03-20T12:41:10","slug":"howto-increase-rammemory-for-java","status":"publish","type":"post","link":"https:\/\/linuxhostingsupport.net\/blog\/howto-increase-rammemory-for-java","title":{"rendered":"Howto: Increase RAM\/Memory for Java."},"content":{"rendered":"<p>In order to <strong>increase memory limit for Java<\/strong>, perform the following steps, <strong>edit the file<\/strong>:<\/p>\n<blockquote><p><span style=\"color: #0000ff;\"><strong>\/var\/cpanel\/tomcat.options<\/strong><\/span><\/p><\/blockquote>\n<p><strong>Insert the following 2 lines:<\/strong><\/p>\n<blockquote><p><span style=\"color: #0000ff;\"><strong>Xmx200M<br \/>\nXms100M<\/strong><\/span><\/p><\/blockquote>\n<p>where, Xmx is the upper limit and Xms is the lower limit. You have to replace the values as per your requirement.<strong> Save the file and restart the tomcat service<\/strong>:<\/p>\n<blockquote><p><span style=\"color: #0000ff;\"><strong>root@server [~]#\/scripts\/restartsrv tomcat<\/strong><\/span><\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>In order to increase memory limit for Java, perform the following steps, edit the file:<br \/>\n\/var\/cpanel\/tomcat.options<br \/>\nInsert the following 2 lines:<br \/>\nXmx200M<br \/>\nXms100M<br \/>\nwhere, Xmx is the upper limit and Xms is the lower limit. You have to replace the values as per your requirement. Save the file and restart the tomcat service:<br \/>\nroot@server [~]#\/scripts\/restartsrv tomcat<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[311,314,313,312,316,315],"_links":{"self":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/255"}],"collection":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/comments?post=255"}],"version-history":[{"count":3,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/255\/revisions"}],"predecessor-version":[{"id":257,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/255\/revisions\/257"}],"wp:attachment":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/media?parent=255"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/categories?post=255"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/tags?post=255"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}