Increase using all RAM

14 Ansichten (letzte 30 Tage)
Marika
Marika am 31 Dez. 2015
Kommentiert: Walter Roberson am 31 Dez. 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 Kommentar
Walter Roberson
Walter Roberson am 31 Dez. 2015
If you are running MS Windows, please show us the output of memory()

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

John D'Errico
John D'Errico am 31 Dez. 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 Kommentare
Marika
Marika am 31 Dez. 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 am 31 Dez. 2015
Marika, please show the output of
memory()

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Loops and Conditional Statements finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by