code cache is full and Matlab crashes

10 views (last 30 days)
Francois
Francois about 22 hours ago
Edited: Walter Roberson about 20 hours ago
(base) fprimeau@vcv076182 maca64 % matlab
CodeCache is full. Compiler has been disabled.
Try increasing the code cache size using -XX:ReservedCodeCacheSize=
zsh: terminated /Applications/MATLAB_R2024b.app/bin/matlab

Answers (1)

Walter Roberson
Walter Roberson 2 minutes ago
Edited: Walter Roberson 1 minute ago
This appears to be related to Java.
I would recommend checking that you have a correct version of Java installed for your Apple Silicon machine;
Also, if you were to upgrade to R2025a or R2025b, they both reduce the reliance on Java a fair bit.

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products


Release

R2024b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!