<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Monospaced;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"Préformaté HTML Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
span.PrformatHTMLCar
        {mso-style-name:"Préformaté HTML Car";
        mso-style-priority:99;
        mso-style-link:"Préformaté HTML";
        font-family:"Courier New";}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=white lang=FR link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Hi <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>I tested it on my example under scilab5.4.0 (Windows OS) … the memory is still full<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Paul<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>De :</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> users-bounces@lists.scilab.org [mailto:users-bounces@lists.scilab.org] <b>De la part de</b> Frederic Jourdin<br><b>Envoyé :</b> jeudi 27 décembre 2012 08:01<br><b>À :</b> International users mailing list for Scilab.<br><b>Objet :</b> Re: [Scilab-users] empty memory<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>even with:<br>clear <br>clearglobal()<br>?<br>Fred<br><br><br>Le 25/12/2012 00:48, Paul Carrico a écrit : <o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:Monospaced'>Dear All,</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:Monospaced'> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:Monospaced'>I noticed the memory is not empty after reading huge matrices (typically after using csvread function with number of rows greater than 500 000) ; as well  it’s the case in the example hereafter …</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:Monospaced'>… thus what is the way to force Scilab to empty the memory  ? </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:Monospaced'> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:Monospaced'>NB : the only way I found is to close Scilab …. Not convenient !</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:Monospaced'>Merry Christmas</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:Monospaced'> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:Monospaced'>Paul</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:Monospaced;color:#32B9B9'> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:Monospaced;color:#32B9B9'> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:Monospaced;color:#32B9B9'>mode</span><span lang=EN-US style='font-family:Monospaced;color:#4A55DB'>(</span><span lang=EN-US style='font-family:Monospaced;color:rosybrown'>0</span><span lang=EN-US style='font-family:Monospaced;color:#4A55DB'>)</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:Monospaced;color:#32B9B9'>stacksize</span><span lang=EN-US style='font-family:Monospaced;color:#4A55DB'>(</span><span lang=EN-US style='font-family:Monospaced;color:rosybrown'>'max'</span><span lang=EN-US style='font-family:Monospaced;color:#4A55DB'>)</span><span lang=EN-US style='font-family:Monospaced'>;</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:Monospaced'> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:Monospaced'>n </span><span lang=EN-US style='font-family:Monospaced;color:#5C5C5C'>=</span><span lang=EN-US style='font-family:Monospaced'> </span><span lang=EN-US style='font-family:Monospaced;color:rosybrown'>500000</span><span lang=EN-US style='font-family:Monospaced'>;</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:Monospaced'>A </span><span lang=EN-US style='font-family:Monospaced;color:#5C5C5C'>=</span><span lang=EN-US style='font-family:Monospaced'> </span><span lang=EN-US style='font-family:Monospaced;color:#32B9B9'>rand</span><span lang=EN-US style='font-family:Monospaced;color:#4A55DB'>(</span><span lang=EN-US style='font-family:Monospaced'>n,</span><span lang=EN-US style='font-family:Monospaced;color:rosybrown'>10</span><span lang=EN-US style='font-family:Monospaced;color:#4A55DB'>)</span><span lang=EN-US style='font-family:Monospaced'>;</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:Monospaced'> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:Monospaced;color:#32B9B9'>save</span><span lang=EN-US style='font-family:Monospaced;color:#4A55DB'>(</span><span lang=EN-US style='font-family:Monospaced;color:rosybrown'>'A.bin'</span><span lang=EN-US style='font-family:Monospaced'>,</span><span lang=EN-US style='font-family:Monospaced;color:rosybrown'>'A'</span><span lang=EN-US style='font-family:Monospaced;color:#4A55DB'>)</span><span lang=EN-US style='font-family:Monospaced'>;</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:Monospaced;color:#32B9B9'>clear</span><span lang=EN-US style='font-family:Monospaced'> </span><span lang=EN-US style='font-family:Monospaced;color:rosybrown'>A</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>(windows task manager shows the memory is not empty after « clear » use) </span><o:p></o:p></p><pre><o:p> </o:p></pre><pre><o:p> </o:p></pre><pre>_______________________________________________<o:p></o:p></pre><pre>users mailing list<o:p></o:p></pre><pre><a href="mailto:users@lists.scilab.org">users@lists.scilab.org</a><o:p></o:p></pre><pre><a href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a><o:p></o:p></pre><pre>  <o:p></o:p></pre><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p> </o:p></span></p></div></body></html>