When doing a lot of read, write and delete to disks, I've noticed that "mdelete" leaks memory, e.g.,<br><br>for i=1:1000<br> a=1:10;<br> save('r:\TEMP\test',a)<br> mdelete('r:\TEMP\t*')<br>
end<br><br>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.<br>
<br>Thanks<br>Matt<br>