필터 지우기
필터 지우기

Too much memory being used while freeing up memory!

조회 수: 1 (최근 30일)
Juliette Salexa
Juliette Salexa 2015년 2월 28일
댓글: per isakson 2015년 2월 28일
On a machine with 3GB of RAM:
K=rand(256,200000); % works perfectly with or without ; at the end
K(:,1)=[];
Out of memory. Type HELP MEMORY for your options.
In other words, simply removing a column of a large matrix, pushes the memory usage above the amount available, when in fact what I'm trying to do is free up some memory.
This is obviously just a sub-optimal MATLAB implementation. I am using 2014a. Does this same problem persist in later versions? If so, how shall I work around it?
  댓글 수: 1
per isakson
per isakson 2015년 2월 28일
"3GB" &nbsp is rather little to run R2014a (32 or 64bit?). Install more memory. See memory, Display memory information

댓글을 달려면 로그인하십시오.

답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by