how can I solve the "Out of Memory. Type HELP MEMORY".

1 view (last 30 days)
Hello
I am developing a Matlab program, which processes huge matrices and perform some calculations with all data. The problem is that, I get the error "Out of Memory. Type HELP MEMORY".
I execute my code on ubuntu with matlabR2015a trial version of 64-bit, and the execution is done on virtual machine with large space and extra processors, but the program is halted with error "Out of Memory. Type HELP MEMORY".
please can I have any advice !
thanks in advance Suhad
  2 Comments
James Tursa
James Tursa on 5 May 2015
We have no hope of helping you based on the scant information you have provided so far. Please post some code with an explanation showing what you are doing and where the memory errors are occurring. Then maybe we can offer advice about different ways of going about things, or how to do the calculations piecemeal, etc.
Stephen23
Stephen23 on 6 May 2015
Edited: Stephen23 on 6 May 2015
@suhad behadili: This also depends on the operations that you are doing, not just the size of the data. In fact even tiny data-sets can quickly balloon into massive internal memory usage if the algorithm is not designed well. But without knowing the exact algorithms that you are using we cannot tell you if they can be written in a more efficient way.
Unless you tell us exactly what you are doing we can only give general advice:
  • reduce your data size.
  • check your algorithms.

Sign in to comment.

Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!