<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
after clearing, using stacksize('min') might help to squeeze the wscilab process mem to original.<BR> <BR>how this works.<BR> <BR>rgds,<BR>CL<br> <BR><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">From: paul.carrico@free.fr<br>To: users@lists.scilab.org<br>Date: Thu, 27 Dec 2012 11:32:46 +0100<br>Subject: Re: [Scilab-users] empty memory<br><br>
<style><!--
.ExternalClass p.ecxMsoNormal, .ExternalClass li.ecxMsoNormal, .ExternalClass div.ecxMsoNormal
{margin-bottom:.0001pt;font-size:11.0pt;font-family:"Calibri","sans-serif";color:black;}
.ExternalClass a:link, .ExternalClass span.ecxMsoHyperlink
{color:blue;text-decoration:underline;}
.ExternalClass a:visited, .ExternalClass span.ecxMsoHyperlinkFollowed
{color:purple;text-decoration:underline;}
.ExternalClass pre
{margin-bottom:.0001pt;font-size:10.0pt;font-family:"Courier New";color:black;}
.ExternalClass p.ecxMsoAcetate, .ExternalClass li.ecxMsoAcetate, .ExternalClass div.ecxMsoAcetate
{margin-bottom:.0001pt;font-size:8.0pt;font-family:"Tahoma","sans-serif";color:black;}
.ExternalClass p.ecxMsoListParagraph, .ExternalClass li.ecxMsoListParagraph, .ExternalClass div.ecxMsoListParagraph
{margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt;font-size:11.0pt;font-family:"Calibri","sans-serif";color:black;}
.ExternalClass span.ecxPrformatHTMLCar
{font-family:Consolas;color:black;}
.ExternalClass p.ecxPreacute, .ExternalClass li.ecxPreacute, .ExternalClass div.ecxPreacute
{margin-bottom:.0001pt;font-size:11.0pt;font-family:"Calibri","sans-serif";color:black;}
.ExternalClass span.ecxPreacute1
{font-family:"Courier New";}
.ExternalClass span.ecxEmailStyle22
{font-family:"Calibri","sans-serif";color:windowtext;}
.ExternalClass span.ecxEmailStyle23
{font-family:"Calibri","sans-serif";color:#1F497D;}
.ExternalClass span.ecxTextedebullesCar
{font-family:"Tahoma","sans-serif";color:black;}
.ExternalClass span.ecxEmailStyle26
{font-family:"Calibri","sans-serif";color:#1F497D;}
.ExternalClass .ecxMsoChpDefault
{font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;}
.ExternalClass div.ecxWordSection1
{page:WordSection1;}
--></style><div class="ecxWordSection1"><p class="ecxMsoNormal"><span style="color: rgb(31, 73, 125);" lang="EN-US">I don’t know if it’s relevant, but I’m using Windows 7 64 bits</span></p><p class="ecxMsoNormal"><span style="color: rgb(31, 73, 125);" lang="EN-US"> </span></p><p class="ecxMsoNormal"><span style="color: rgb(31, 73, 125);" lang="EN-US">Paul</span></p><p class="ecxMsoNormal"><span style="color: rgb(31, 73, 125);" lang="EN-US"> </span></p><div><div style="border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) currentColor currentColor; padding: 3pt 0cm 0cm;"><p class="ecxMsoNormal"><b><span style='color: windowtext; font-family: "Tahoma","sans-serif"; font-size: 10pt;'>De :</span></b><span style='color: windowtext; font-family: "Tahoma","sans-serif"; font-size: 10pt;'> 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 10:37<br><b>À :</b> International users mailing list for Scilab.<br><b>Objet :</b> Re: [Scilab-users] empty memory</span></p></div></div><p class="ecxMsoNormal"> </p><p class="ecxMsoNormal">I don't see this problem with Scilab 5.3 and 5.4 on Linux.<br>Maybe this is a Scilab bug on Windows (?!):<br>another guy for testing it on Windows ?...<br>Fred<br><br><br>Le 27/12/2012 09:48, Paul Carrico a écrit : </p><p class="ecxMsoNormal"><span style="color: rgb(31, 73, 125);" lang="EN-US">Hi </span></p><p class="ecxMsoNormal"><span style="color: rgb(31, 73, 125);" lang="EN-US"> </span></p><p class="ecxMsoNormal"><span style="color: rgb(31, 73, 125);" lang="EN-US">I tested it on my example under scilab5.4.0 (Windows OS) … the memory is still full</span></p><p class="ecxMsoNormal"><span style="color: rgb(31, 73, 125);" lang="EN-US"> </span></p><p class="ecxMsoNormal"><span style="color: rgb(31, 73, 125);" lang="EN-US">Paul</span></p><p class="ecxMsoNormal"><span style="color: rgb(31, 73, 125);" lang="EN-US"> </span></p><div><div style="border-width: 1pt medium medium; border-style: solid none none; border-color: windowtext currentColor currentColor; padding: 3pt 0cm 0cm;"><p class="ecxMsoNormal"><b><span style='color: windowtext; font-family: "Tahoma","sans-serif"; font-size: 10pt;'>De :</span></b><span style='color: windowtext; font-family: "Tahoma","sans-serif"; font-size: 10pt;'> <a href="mailto:users-bounces@lists.scilab.org">users-bounces@lists.scilab.org</a> [<a href="mailto:users-bounces@lists.scilab.org">mailto:users-bounces@lists.scilab.org</a>] <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</span></p></div></div><p class="ecxMsoNormal"> </p><p class="ecxMsoNormal">even with:<br>clear <br>clearglobal()<br>?<br>Fred<br><br><br>Le 25/12/2012 00:48, Paul Carrico a écrit : </p><p class="ecxMsoNormal"><span style="font-family: Monospaced;" lang="EN-US">Dear All,</span></p><p class="ecxMsoNormal"><span style="font-family: Monospaced;" lang="EN-US"> </span></p><p class="ecxMsoNormal"><span style="font-family: Monospaced;" lang="EN-US">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></p><p class="ecxMsoNormal"><span style="font-family: Monospaced;" lang="EN-US">… thus what is the way to force Scilab to empty the memory ? </span></p><p class="ecxMsoNormal"><span style="font-family: Monospaced;" lang="EN-US"> </span></p><p class="ecxMsoNormal"><span style="font-family: Monospaced;" lang="EN-US">NB : the only way I found is to close Scilab …. Not convenient !</span></p><p class="ecxMsoNormal"><span style="font-family: Monospaced;" lang="EN-US">Merry Christmas</span></p><p class="ecxMsoNormal"><span style="font-family: Monospaced;" lang="EN-US"> </span></p><p class="ecxMsoNormal"><span style="font-family: Monospaced;" lang="EN-US">Paul</span></p><p class="ecxMsoNormal"><span style="color: rgb(50, 185, 185); font-family: Monospaced;" lang="EN-US"> </span></p><p class="ecxMsoNormal"><span style="color: rgb(50, 185, 185); font-family: Monospaced;" lang="EN-US"> </span></p><p class="ecxMsoNormal"><span style="color: rgb(50, 185, 185); font-family: Monospaced;" lang="EN-US">mode</span><span style="color: rgb(74, 85, 219); font-family: Monospaced;" lang="EN-US">(</span><span style="color: rosybrown; font-family: Monospaced;" lang="EN-US">0</span><span style="color: rgb(74, 85, 219); font-family: Monospaced;" lang="EN-US">)</span></p><p class="ecxMsoNormal"><span style="color: rgb(50, 185, 185); font-family: Monospaced;" lang="EN-US">stacksize</span><span style="color: rgb(74, 85, 219); font-family: Monospaced;" lang="EN-US">(</span><span style="color: rosybrown; font-family: Monospaced;" lang="EN-US">'max'</span><span style="color: rgb(74, 85, 219); font-family: Monospaced;" lang="EN-US">)</span><span style="font-family: Monospaced;" lang="EN-US">;</span></p><p class="ecxMsoNormal"><span style="font-family: Monospaced;" lang="EN-US"> </span></p><p class="ecxMsoNormal"><span style="font-family: Monospaced;" lang="EN-US">n </span><span style="color: rgb(92, 92, 92); font-family: Monospaced;" lang="EN-US">=</span><span style="font-family: Monospaced;" lang="EN-US"> </span><span style="color: rosybrown; font-family: Monospaced;" lang="EN-US">500000</span><span style="font-family: Monospaced;" lang="EN-US">;</span></p><p class="ecxMsoNormal"><span style="font-family: Monospaced;" lang="EN-US">A </span><span style="color: rgb(92, 92, 92); font-family: Monospaced;" lang="EN-US">=</span><span style="font-family: Monospaced;" lang="EN-US"> </span><span style="color: rgb(50, 185, 185); font-family: Monospaced;" lang="EN-US">rand</span><span style="color: rgb(74, 85, 219); font-family: Monospaced;" lang="EN-US">(</span><span style="font-family: Monospaced;" lang="EN-US">n,</span><span style="color: rosybrown; font-family: Monospaced;" lang="EN-US">10</span><span style="color: rgb(74, 85, 219); font-family: Monospaced;" lang="EN-US">)</span><span style="font-family: Monospaced;" lang="EN-US">;</span></p><p class="ecxMsoNormal"><span style="font-family: Monospaced;" lang="EN-US"> </span></p><p class="ecxMsoNormal"><span style="color: rgb(50, 185, 185); font-family: Monospaced;" lang="EN-US">save</span><span style="color: rgb(74, 85, 219); font-family: Monospaced;" lang="EN-US">(</span><span style="color: rosybrown; font-family: Monospaced;" lang="EN-US">'A.bin'</span><span style="font-family: Monospaced;" lang="EN-US">,</span><span style="color: rosybrown; font-family: Monospaced;" lang="EN-US">'A'</span><span style="color: rgb(74, 85, 219); font-family: Monospaced;" lang="EN-US">)</span><span style="font-family: Monospaced;" lang="EN-US">;</span></p><p class="ecxMsoNormal"><span style="color: rgb(50, 185, 185); font-family: Monospaced;" lang="EN-US">clear</span><span style="font-family: Monospaced;" lang="EN-US"> </span><span style="color: rosybrown; font-family: Monospaced;" lang="EN-US">A</span></p><p class="ecxMsoNormal"><span lang="EN-US">(windows task manager shows the memory is not empty after « clear » use) </span></p><pre> </pre><pre> </pre><pre>_______________________________________________</pre><pre>users mailing list</pre><pre><a href="mailto:users@lists.scilab.org">users@lists.scilab.org</a></pre><pre><a href="http://lists.scilab.org/mailman/listinfo/users" target="_blank">http://lists.scilab.org/mailman/listinfo/users</a></pre><pre> </pre><p class="ecxMsoNormal"><span style='font-family: "Times New Roman","serif"; font-size: 12pt;'> </span></p><pre> </pre><pre> </pre><pre>_______________________________________________</pre><pre>users mailing list</pre><pre><a href="mailto:users@lists.scilab.org">users@lists.scilab.org</a></pre><pre><a href="http://lists.scilab.org/mailman/listinfo/users" target="_blank">http://lists.scilab.org/mailman/listinfo/users</a></pre><pre> </pre><p class="ecxMsoNormal"><span style='font-family: "Times New Roman","serif"; font-size: 12pt;'> </span></p></div><br>_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users</div> </div></body>
</html>