- NOTE: Starting in R2019a the following name changes occurred:
- MATLAB Distributed Computing Server was renamed to MATLAB Parallel Server
- mdce_def was renamed to mjs_def
- mdce binary was renamed to mjs
- mjs_def.bat file is in $MATLAB/R20XXx/toolbox/distcomp/bin for R2019a and earlier.
Why do I receive the error "Invalid maximum heap size: -Xmx%WORKER_MAXIMUM_MEMORY%" in my MDCE log file?
조회 수: 15 (최근 30일)
이전 댓글 표시
MathWorks Support Team
2019년 5월 8일
편집: MathWorks Support Team
2019년 12월 5일
Why do I receive the following error in my MDCE log file?
Invalid maximum heap size: -Xmx%WORKER_MAXIMUM_MEMORY%
채택된 답변
MathWorks Support Team
2019년 12월 6일
편집: MathWorks Support Team
2019년 12월 5일
The MDCE log file is found in the location below:
Windows:
C:\TEMP\MDCE\log\mdce-service.log
Mac/Linux:
/var/log/mdce/mdce-service.log
You will get this error due to using an older version of the mjs_def file where it does not contain either one or more of the maximum memory lines. These lines tell the mdce process to send a particular amount of memory through to the JVM.
Your mjs_def file is located here:
$MATLABROOT\toolbox\parallel\bin\mjs_def
Where $MATLABROOT is the installation directory of MATLAB.
# WORKER_MAXIMUM_MEMORY: The maximum heap size of the all worker java
# process.
WORKER_MAXIMUM_MEMORY="1024m"
and
# JOB_MANAGER_MAXIMUM_MEMORY: The maximum heap size of the job manager java
# process.
JOB_MANAGER_MAXIMUM_MEMORY="1024m"
After changing this file, make sure you restart your mdce processes to start using this change.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!