{"id":197,"date":"2011-03-08T23:47:39","date_gmt":"2011-03-08T23:47:39","guid":{"rendered":"http:\/\/support.cybersecure.com\/?p=197"},"modified":"2023-06-29T11:44:22","modified_gmt":"2023-06-29T01:44:22","slug":"197","status":"publish","type":"post","link":"http:\/\/support.cybersecure.com\/?p=197","title":{"rendered":"Java Heap Space"},"content":{"rendered":"<h2>Error:<\/h2>\n<p>A &#8220;Java Heap Space&#8221; error is encountered<\/p>\n<h2>Cause:<\/h2>\n<p>The java process that the software runs on was not able to allocate enough memory to perform its operations. This is normally the result of:<\/p>\n<ol>\n<li>having a large number of files and\/or data in the backup<\/li>\n<li>delta merging during a restoration<\/li>\n<\/ol>\n<h2>Resolution:<\/h2>\n<p>Increase the java heap space size in the client configuration.<\/p>\n<p>Under Windows:<\/p>\n<ol>\n<li>${Install-Home}\\config.ini<\/li>\n<li>${Install-Home}\\bin\\RunOBC.bat<\/li>\n<\/ol>\n<p>For Mac OS X:<\/p>\n<ol>\n<li>${Install-Home}\/config.ini<\/li>\n<li>${Install-Home}\/bin\/RunOBC.sh<\/li>\n<\/ol>\n<p>Open &#8220;config.ini&#8221; and &#8220;RunOBC.bat&#8221; with a text editor and change the values in bold text.<br \/>\nThe bolded values affect the java heap size, which determines the maximum amount of memory used.<\/p>\n<p>[config.ini]<br \/>\n<code>app.system.ui.vm.opt.xmx=<strong>768<\/strong><\/code><\/p>\n<p>[RunOBC.bat]<br \/>\n<code>SET JAVA_OPTS=-Xms32m -Xmx<strong>768<\/strong>m -Dsun.java2d.noddraw<\/code><\/p>\n<p>Try increasing to 768 or higher, this will use more memory so ensure your system has enough free RAM<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Error: A &#8220;Java Heap Space&#8221; error is encountered Cause: The java process that the software runs on was not able to allocate enough memory to perform its operations. This is normally the result of: having a large number of files &hellip; <a href=\"http:\/\/support.cybersecure.com\/?p=197\">Continue reading <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":[],"categories":[39,38],"tags":[],"_links":{"self":[{"href":"http:\/\/support.cybersecure.com\/index.php?rest_route=\/wp\/v2\/posts\/197"}],"collection":[{"href":"http:\/\/support.cybersecure.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/support.cybersecure.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/support.cybersecure.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/support.cybersecure.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=197"}],"version-history":[{"count":8,"href":"http:\/\/support.cybersecure.com\/index.php?rest_route=\/wp\/v2\/posts\/197\/revisions"}],"predecessor-version":[{"id":4226,"href":"http:\/\/support.cybersecure.com\/index.php?rest_route=\/wp\/v2\/posts\/197\/revisions\/4226"}],"wp:attachment":[{"href":"http:\/\/support.cybersecure.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=197"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/support.cybersecure.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=197"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/support.cybersecure.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=197"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}