Undocumented Secrets of MATLAB
®
-Java Programming46
This is another experimental JVM option, which is reported to solve some memory-related
MATLAB crashes by preventing the JVM from committing “suicide” if it detects a long mem-
ory-hogging operation.
-XX:ThreadStackSize = 8192
Yet another memory-related experimental JVM option, solving MATLAB crashes
120
and
startup failures.
121
The setting above allots 8 MB stack size per thread. Note that this may cause
unexpected problems with the Help Browser on MATLAB R14SP1.
122
-Xrs
This option, which prevents the JVM from responding to external signals, has been found
to solve several problems
123
with MATLAB components shutting down when another
component exits.
-Djava.compiler = NONE
124 ...