{"id":5581,"date":"2018-01-02T02:34:20","date_gmt":"2018-01-02T02:34:20","guid":{"rendered":"http:\/\/www.garysieling.com\/blog\/?p=5581"},"modified":"2018-01-02T02:34:20","modified_gmt":"2018-01-02T02:34:20","slug":"fixing-invalid-maximum-heap-size","status":"publish","type":"post","link":"https:\/\/www.garysieling.com\/blog\/fixing-invalid-maximum-heap-size\/","title":{"rendered":"Fixing &#8220;Invalid maximum heap size: &#8230;&#8221;"},"content":{"rendered":"<p>This happens when you don&#8217;t follow the format for Java memory size.<\/p>\n<p>It should look like one of these values:<\/p>\n<pre>\nset SBT_OPTS=\"-Xmx4G\"\nset SBT_OPTS=\"-Xmx4000M\"\n<\/pre>\n<p>If you use &#8220;GB&#8221; or put a space in (&#8220;-Xmx 4G&#8221;) you will get this error.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Fixing a java heap memory error<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[9],"tags":[300,480],"aioseo_notices":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts\/5581"}],"collection":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/comments?post=5581"}],"version-history":[{"count":0,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts\/5581\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/media?parent=5581"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/categories?post=5581"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/tags?post=5581"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}