How to utilize RAM?
15 views (last 30 days)
Show older comments
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
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!
Answers (1)
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);
0 Comments
See Also
Categories
Find more on Environment and Settings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!