How to determine how much RAM is available?

21 ビュー (過去 30 日間)
Iain
Iain 2021 年 4 月 30 日
回答済み: Star Strider 2021 年 4 月 30 日
I'm currently working on a tool designed to read in files and do stuff to the files, and the likelihood that it will eventually eat up all of the ram is quite high.
feature memstats is lying to me and telling me I have over 100TB, which is 500 times what I expect to have.
Does anyone have a method of determining how much ram is available, both with or without the pagefile?
If it makes a difference, I'm using 19b

回答 (1 件)

Star Strider
Star Strider 2021 年 4 月 30 日
The memory function is the only option I’m aware of that would come close to providing that information. There are related functions linked to on that page.

カテゴリ

Help Center および File ExchangeEnvironment and Settings についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by