Cell memory not released

Rabeeh Abbasi rabeeh36 at yahoo.com
Tue Jul 28 04:06:50 CDT 2009


Hello,

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

I am using Octave 3.2.0 (package installed from Debian Sid) on Ubuntu 9.04. Following are the details of octave and my operating system.

octave --version:
GNU Octave, version 3.2.0
...
Octave was configured for "x86_64-pc-linux-gnu".
...

uname -a: 
Linux workpc 2.6.28-13-generic #45-Ubuntu SMP Tue Jun 30 22:12:12 UTC 2009 x86_64 GNU/Linux

Regards,
Rabeeh



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www-old.cae.wisc.edu/pipermail/bug-octave/attachments/20090728/ad6e3b83/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cell_mem.m
Type: text/x-objcsrc
Size: 112 bytes
Desc: not available
Url : https://www-old.cae.wisc.edu/pipermail/bug-octave/attachments/20090728/ad6e3b83/attachment.bin 


More information about the Bug-octave mailing list