Increase using all RAM

19 views (last 30 days)
Marika
Marika on 31 Dec 2015
Commented: Walter Roberson on 31 Dec 2015
I have four 32GB RAM. While running the program, it uses only one. How is it possible to increase the speed of the processor by use all RAM?
  1 Comment
Walter Roberson
Walter Roberson on 31 Dec 2015
If you are running MS Windows, please show us the output of memory()

Sign in to comment.

Accepted Answer

John D'Errico
John D'Errico on 31 Dec 2015
More RAM does not help you to do anything if you have a small problem that is not bound by the amount of RAM. For example, suppose you wish to add two numbers.
x = 1 + 2;
How much extra RAM you have has absolutely NOTHING to do with speed of that computation. It is the processor that makes a difference here, not the amount of RAM available to it. (Yes, not all RAM is the same in terms of access time, but that was not the question posed.)
In your case, it appears that this extra memory you have was not needed, any more than it would be for the simple case I show above.
  2 Comments
Marika
Marika on 31 Dec 2015
Dear John! Perhaps you know better then me what the amount of RAM i need for my tasks. Why did you bother for such serious answer.
Walter Roberson
Walter Roberson on 31 Dec 2015
Marika, please show the output of
memory()

Sign in to comment.

More Answers (0)

Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!