Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Asking the error of 'Out of memory'

조회 수: 1 (최근 30일)
Hnin Thet Hmue Khin
Hnin Thet Hmue Khin 2019년 11월 13일
마감: MATLAB Answer Bot 2021년 8월 20일
Hello, I have a problem while I'm running my data in matlab. It's saying ' Out of memeory.Type HELP MEMORY for your options. ' If someone knows the solution of it, please kindly answer me. Thank you.

답변 (1개)

Daniel M
Daniel M 2019년 11월 13일
You are trying to allocate memory to a matrix for more memory than is available in your RAM. The solution completely depends upon what you are trying to do. The operation
x = ones(10,1);
creates an array of 10 elements of type double. The size of this array is 10*8 = 80 bytes (since 8 is the number of bytes required for double precision). At some point in your code you must be trying to do some operation which requires more memory than you have available for you computer. Again, solutions will vary based on what you're trying to do, but you could trying doing your operation on chunks of data at a time.
See this page for more information:

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by