MATLAB allocates memory for every command

44 ビュー (過去 30 日間)
Mikhail Zubkov
Mikhail Zubkov 2025 年 11 月 28 日 12:53
コメント済み: Walter Roberson 2025 年 11 月 28 日 20:56
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.
  1 件のコメント
Walter Roberson
Walter Roberson 2025 年 11 月 28 日 20:56
Datapoint:
I am not seeing this on MacOS Intel 15.7

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangePerformance and Memory についてさらに検索

タグ

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by