CodeCache is full. Compiler has been disabled.
    조회 수: 9 (최근 30일)
  
       이전 댓글 표시
    
This is a new installation of R2023b on an M2 macOS 13.6. When launching matlab from the console, I get the following error messages:
--
objc[2572]: Class WebSwapCGLLayer is implemented in both /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.framework/Versions/A/Frameworks/libANGLE-shared.dylib (0x2335e6cc0) and /Applications/MATLAB_R2023b.app/bin/maca64/Frameworks/Chromium Embedded Framework.framework/Libraries/libGLESv2.dylib (0x109b41e70). One of the two will be used. Which one is undefined.
CodeCache is full. Compiler has been disabled.
Try increasing the code cache size using -XX:ReservedCodeCacheSize=
--
An online search indicates this error is related to JDK, e.g., https://poonamparhar.github.io/codecache_is_full/
java -version yields:
--
openjdk version "17.0.8.1" 2023-08-24
OpenJDK Runtime Environment Temurin-17.0.8.1+1 (build 17.0.8.1+1)
OpenJDK 64-Bit Server VM Temurin-17.0.8.1+1 (build 17.0.8.1+1, mixed mode)
댓글 수: 5
  Jinal
      
 2023년 11월 15일
				Hi Dirk. 
This warning is appearing on Macs with the Silicon processor. Nevertheless, despite this warning message, there is no practical concern with MATLAB or the CodeCache. Users should be able to use MATLAB normally. Hopefully, MathWorks will work on removing this warning in future releases.
답변 (0개)
참고 항목
카테고리
				Help Center 및 File Exchange에서 Java Package Integration에 대해 자세히 알아보기
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!