Out of memory error - How to solve?
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
Matt Kindig
2013-3-27
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.
回答(1 个)
Jan
2013-3-28
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Whos 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!