java.lang.OutOfMemoryError: Java heap space on startup

前端 未结 3 623
遥遥无期
遥遥无期 2021-01-14 16:51

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

3条回答
  •  忘掉有多难
    2021-01-14 17:46

    Refer this How do I increase the heap space for the Java VM in MATLAB 6.0 (R12) and later versions? EDIT -Xms sets the initial size of the heap. Changing this will have no effect on java.lang.OutOfMemory errors. The option to use is -Xmx which sets the maximum size of the heap. See here for details.

提交回复
热议问题