Increase using all RAM

16 visualizzazioni (ultimi 30 giorni)
Marika
Marika il 31 Dic 2015
Commentato: Walter Roberson il 31 Dic 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 Commento
Walter Roberson
Walter Roberson il 31 Dic 2015
If you are running MS Windows, please show us the output of memory()

Accedi per commentare.

Risposta accettata

John D'Errico
John D'Errico il 31 Dic 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 Commenti
Marika
Marika il 31 Dic 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 il 31 Dic 2015
Marika, please show the output of
memory()

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Loops and Conditional Statements in Help Center e File Exchange

Tag

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by