{"id":5579,"date":"2018-01-02T02:38:23","date_gmt":"2018-01-02T02:38:23","guid":{"rendered":"http:\/\/www.garysieling.com\/blog\/?p=5579"},"modified":"2018-01-02T02:38:23","modified_gmt":"2018-01-02T02:38:23","slug":"fixing-lang-outofmemoryerror-physical-memory-usage-high-physicalbytes-1g-maxphysicalbytes-995m","status":"publish","type":"post","link":"https:\/\/www.garysieling.com\/blog\/fixing-lang-outofmemoryerror-physical-memory-usage-high-physicalbytes-1g-maxphysicalbytes-995m\/","title":{"rendered":"Fixing .lang.OutOfMemoryError: Physical memory usage is too high: physicalBytes = 1G > maxPhysicalBytes = 995M"},"content":{"rendered":"<p>This can be resolved by increasing the heap size (e.g. -Xmx4G)<\/p>\n<pre>\nCaused by: java.lang.OutOfMemoryError: Physical memory usage is too high: physicalBytes = 1G > maxPhysicalBytes = 995M\n        at org.bytedeco.javacpp.Pointer.deallocator(Pointer.java:576)\n        at org.bytedeco.javacpp.Pointer.init(Pointer.java:121)\n        at org.bytedeco.javacpp.PointerPointer.allocateArray(Native Method)\n        at org.bytedeco.javacpp.PointerPointer.<init>(PointerPointer.java:118)\n        at org.nd4j.linalg.jcublas.rng.CudaNativeRandom.getExtraPointers(CudaNativeRandom.java:44)\n        at org.nd4j.linalg.jcublas.rng.CudaNativeRandom.init(CudaNativeRandom.java:36)\n        at org.nd4j.rng.NativeRandom.<init>(NativeRandom.java:79)\n        at org.nd4j.linalg.jcublas.rng.CudaNativeRandom.<init>(CudaNativeRandom.java:31)\n        at org.nd4j.linalg.jcublas.rng.CudaNativeRandom.<init>(CudaNativeRandom.java:27)\n        at org.nd4j.linalg.jcublas.rng.CudaNativeRandom.<init>(CudaNativeRandom.java:23)\n        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Fixing an out of memory error that happens inside the java-c++ bridge<\/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\/5579"}],"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=5579"}],"version-history":[{"count":0,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts\/5579\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/media?parent=5579"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/categories?post=5579"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/tags?post=5579"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}