How to utilize RAM?

I have a system with 512GB RAM and when I run Matlab it utilizes a maximum of 4% RAM. Is there any way to increase the usage of RAM by MATLAB so as to utilize the system efficiently?

1 Comment

Adam
Adam on 1 Dec 2016
4% of 512GB is still 20 GB which is quite large. What kind of data are you using?
I only have 32 GB RAM on a fairly powerful PC, but Matlab certainly uses all of that it can when it needs to. I have often had to power off my machine because I allowed Matlab to do something that took far too much RAM!

Sign in to comment.

Answers (1)

Jan
Jan on 1 Dec 2016
Matlab uses as much memory as it requires to store the variables, when the available memory has not been limited explicitely by the operating system. Therefore there is no reason to "increase" the memory except that you or your admin has restricted the resources before.
Does Matlab use more RAM if you create a large array?
X = rand(1, 8e9);

Categories

Find more on Environment and Settings in Help Center and File Exchange

Tags

Asked:

on 1 Dec 2016

Commented:

on 1 Dec 2016

Community Treasure Hunt

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

Start Hunting!