Cell memory not released

John W. Eaton jwe at octave.org
Tue Jul 28 10:07:04 CDT 2009


On 28-Jul-2009, Rabeeh Abbasi wrote:

| When I create a large cell array and want to clear it, it seems that
| octave still keeps the memory used by the cell array.
| 
| x = cell(1000000,1);
| for i=1:rows(x) x(i) = sprintf('String %d',i); endfor; 
| clear x; #not all memory is released

How are you determining that not all the memory is released?

jwe


More information about the Bug-octave mailing list