Memory leak; mdelete?

Matthew Albrecht mattyalbrecht at gmail.com
Tue Jun 3 07:16:47 CEST 2008


When doing a lot of read, write and delete to disks, I've noticed that
"mdelete" leaks memory, e.g.,

for i=1:1000
  a=1:10;
  save('r:\TEMP\test',a)
  mdelete('r:\TEMP\t*')
end

Looking at the memory usage on my computer, using mdelete this many times
uses approximately 62 M of RAM without giving it back (commit charge starts
at 643 M and ends at 705 M). Is there a command which will release the
memory used?  At the moment it only releases the memory when I exit Scilab.

Thanks
Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20080603/0586a1e7/attachment.htm>


More information about the users mailing list