Cell memory not released

Rabeeh Abbasi rabeeh36 at yahoo.com
Tue Jul 28 10:52:08 CDT 2009


By looking at the system resources, using "top" command.

Regards,
Rabeeh




________________________________
From: John W. Eaton <jwe at octave.org>
To: Rabeeh Abbasi <rabeeh36 at yahoo.com>
Cc: bug-octave at octave.org
Sent: Tuesday, July 28, 2009 5:07:04 PM
Subject: Cell memory not released

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



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www-old.cae.wisc.edu/pipermail/bug-octave/attachments/20090728/f3e2ab8c/attachment.html 


More information about the Bug-octave mailing list