code cache is full and Matlab crashes

(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

 Réponse acceptée

Walter Roberson
Walter Roberson le 22 Oct 2025
Modifié(e) : Walter Roberson le 22 Oct 2025

0 votes

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.

Plus de réponses (0)

Catégories

En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange

Produits

Version

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by