{"id":4377,"date":"2022-09-09T01:01:59","date_gmt":"2022-09-09T01:01:59","guid":{"rendered":"http:\/\/www.ipsych.me\/?p=4377"},"modified":"2022-09-09T01:02:01","modified_gmt":"2022-09-09T01:02:01","slug":"resolve-eeglab-java-vm-memory-error","status":"publish","type":"post","link":"https:\/\/www.ipsych.me\/?p=4377","title":{"rendered":"Resolve EEGLab Java VM memory error"},"content":{"rendered":"\n<p>When you process HD-EEG data, like one acquired with EGI 256ch amplifier, EEGLab preprocessing pipeline easily face an error.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>First, increase java HEAP memory in Matlab preference.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>However, the matlab limit the maximum value based on their &#8216;recommendation&#8217;. In my case, the physical memory size is 64GB, but the &#8216;reommended&#8217; max heap memory was 16GB. And the GUI not allow increase it more. <\/p>\n\n\n\n<p>Than go to \/Users\/yourusername\/Library\/Application Support\/MathWorks\/MATLAB\/R2019b, you will find matlab.prf. <\/p>\n\n\n\n<p>Here I increased the memory 3times. <\/p>\n\n\n\n<p>JavaMemHeapMax=I49152<\/p>\n\n\n\n<p>Now it works! <\/p>\n","protected":false},"excerpt":{"rendered":"<p>When you process HD-EEG data, like one acquired with EGI 256ch amplifier, EEGLab preprocessing pipeline easily face an error. First, increase java HEAP memory in Matlab preference. However, the matlab limit the maximum value based on their &#8216;recommendation&#8217;. In my case, the physical memory size is 64GB, but the &#8216;reommended&#8217; max heap memory was 16GB. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[],"class_list":["post-4377","post","type-post","status-publish","format-standard","hentry","category-psychophysiology"],"_links":{"self":[{"href":"https:\/\/www.ipsych.me\/index.php?rest_route=\/wp\/v2\/posts\/4377","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ipsych.me\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ipsych.me\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ipsych.me\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ipsych.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4377"}],"version-history":[{"count":1,"href":"https:\/\/www.ipsych.me\/index.php?rest_route=\/wp\/v2\/posts\/4377\/revisions"}],"predecessor-version":[{"id":4378,"href":"https:\/\/www.ipsych.me\/index.php?rest_route=\/wp\/v2\/posts\/4377\/revisions\/4378"}],"wp:attachment":[{"href":"https:\/\/www.ipsych.me\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4377"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ipsych.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4377"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ipsych.me\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4377"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}