Effacer les filtres
Effacer les filtres

Out of memory error - How to solve?

1 vue (au cours des 30 derniers jours)
Ranjani
Ranjani le 27 Mar 2013
I have win7 64 4GB RAM 500GB hardisk laptop. When I try running a normalized periodogram (lomb.m from file exchange), I get this error.
Can someone tell me how to go about this?
Thank you
Ranjani
  1 commentaire
Matt Kindig
Matt Kindig le 27 Mar 2013
Exactly as the error indicates: you are simply out of memory. You can try by clear()-ing all unnecessary variables prior to the lomb.m call to see if that helps.

Connectez-vous pour commenter.

Réponses (1)

Jan
Jan le 28 Mar 2013
Did you search for "out of memory" in this forum already? You would find these solutions:
  1. Install more memory
  2. Reduce the size of the problem
  3. Use classes with smaller memory needs, e.g. SINGLE instead of DOUBLE, or even better UINT8 if possible
  4. Install more memory
  5. Close other applications
  6. Increase the virtual memory
  7. Install more memory
  8. Reformulate the algorithm to use inplace operations. This is not trivial in Matlab, but possible, see e.g. Lorens Blog: in-place operations

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by