A few days ago I began encountering a java.lang.OutOfMemoryError: Java heap space exception on startup of MATLAB - before I run any piece of code or add anythin
java.lang.OutOfMemoryError: Java heap space
Start your application using java -Xmx -Xms option provide -
java -Xmx -Xms option
-Xmx : max memory allocation to app -Xms : Min memory at startup