MATLAB allocates memory for every command

I think this happened after a recent java update.
For some reason MATLAB allocates a few Gb of memory every time I issue any command (even if the command produces an error and doesn't run) in the command window.
Commands that have been observed to allocate a few Gb of memory:
Unique(1)
(yes with the cap letter, producing an error, but still allocating a few Gb of RAM)
unique(1)
clc
Each of those results in a few Gb step of memory allocation in the windows system monitor.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Performance and Memory에 대해 자세히 알아보기

제품

릴리스

R2020b

태그

질문:

2025년 11월 28일

댓글:

2025년 11월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by