Filter löschen
Filter löschen

Out of memory error - How to solve?

3 Ansichten (letzte 30 Tage)
Ranjani
Ranjani am 27 Mär. 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 Kommentar
Matt Kindig
Matt Kindig am 27 Mär. 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.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Jan
Jan am 28 Mär. 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

Community Treasure Hunt

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

Start Hunting!

Translated by