Increase using all RAM

16 vues (au cours des 30 derniers jours)
Marika
Marika le 31 Déc 2015
Commenté : Walter Roberson le 31 Déc 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 commentaire
Walter Roberson
Walter Roberson le 31 Déc 2015
If you are running MS Windows, please show us the output of memory()

Connectez-vous pour commenter.

Réponse acceptée

John D'Errico
John D'Errico le 31 Déc 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 commentaires
Marika
Marika le 31 Déc 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 le 31 Déc 2015
Marika, please show the output of
memory()

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Loops and Conditional Statements dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by