Out of memory error - How to solve?
2 views (last 30 days)
Show older comments
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 Comment
Matt Kindig
on 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.
Answers (1)
Jan
on 28 Mar 2013
Did you search for "out of memory" in this forum already? You would find these solutions:
- Install more memory
- Reduce the size of the problem
- Use classes with smaller memory needs, e.g. SINGLE instead of DOUBLE, or even better UINT8 if possible
- Install more memory
- Close other applications
- Increase the virtual memory
- Install more memory
- Reformulate the algorithm to use inplace operations. This is not trivial in Matlab, but possible, see e.g. Lorens Blog: in-place operations
0 Comments
See Also
Categories
Find more on Whos in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!