<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
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 :
<blockquote cite="mid:001e01cde40e$e1d218d0$a5764a70$@carrico@free.fr"
type="cite">
<meta http-equiv="Content-Type"
content="text/html; charset=ISO-8859-1">
<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]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"
lang="EN-US">Hi <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><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<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"
lang="EN-US">Paul<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"
lang="EN-US"><o:p> </o:p></span></p>
<div>
<div
style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">
<p class="MsoNormal"><b><span
style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">De :</span></b><span
style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">
<a class="moz-txt-link-abbreviated" href="mailto:users-bounces@lists.scilab.org">users-bounces@lists.scilab.org</a> [<a class="moz-txt-link-freetext" 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<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 style="font-family: Monospaced;"
lang="EN-US">Dear All,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family: Monospaced;"
lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><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><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family: Monospaced;"
lang="EN-US">… thus what is the way to force Scilab to empty the
memory ? </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family: Monospaced;"
lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family: Monospaced;"
lang="EN-US">NB : the only way I found is to close Scilab …. Not
convenient !</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family: Monospaced;"
lang="EN-US">Merry Christmas</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family: Monospaced;"
lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family: Monospaced;"
lang="EN-US">Paul</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-family: Monospaced; color: rgb(50, 185, 185);" lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-family: Monospaced; color: rgb(50, 185, 185);" lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-family: Monospaced; color: rgb(50, 185, 185);" lang="EN-US">mode</span><span
style="font-family: Monospaced; color: rgb(74, 85, 219);" lang="EN-US">(</span><span
style="font-family: Monospaced; color: rosybrown;" lang="EN-US">0</span><span
style="font-family: Monospaced; color: rgb(74, 85, 219);" lang="EN-US">)</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-family: Monospaced; color: rgb(50, 185, 185);" lang="EN-US">stacksize</span><span
style="font-family: Monospaced; color: rgb(74, 85, 219);" lang="EN-US">(</span><span
style="font-family: Monospaced; color: rosybrown;" lang="EN-US">'max'</span><span
style="font-family: Monospaced; color: rgb(74, 85, 219);" lang="EN-US">)</span><span
style="font-family: Monospaced;" lang="EN-US">;</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family: Monospaced;"
lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family: Monospaced;"
lang="EN-US">n </span><span
style="font-family: Monospaced; color: rgb(92, 92, 92);" lang="EN-US">=</span><span
style="font-family: Monospaced;" lang="EN-US"> </span><span
style="font-family: Monospaced; color: rosybrown;" lang="EN-US">500000</span><span
style="font-family: Monospaced;" lang="EN-US">;</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family: Monospaced;"
lang="EN-US">A </span><span
style="font-family: Monospaced; color: rgb(92, 92, 92);" lang="EN-US">=</span><span
style="font-family: Monospaced;" lang="EN-US"> </span><span
style="font-family: Monospaced; color: rgb(50, 185, 185);" lang="EN-US">rand</span><span
style="font-family: Monospaced; color: rgb(74, 85, 219);" lang="EN-US">(</span><span
style="font-family: Monospaced;" lang="EN-US">n,</span><span
style="font-family: Monospaced; color: rosybrown;" lang="EN-US">10</span><span
style="font-family: Monospaced; color: rgb(74, 85, 219);" lang="EN-US">)</span><span
style="font-family: Monospaced;" lang="EN-US">;</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family: Monospaced;"
lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-family: Monospaced; color: rgb(50, 185, 185);" lang="EN-US">save</span><span
style="font-family: Monospaced; color: rgb(74, 85, 219);" lang="EN-US">(</span><span
style="font-family: Monospaced; color: rosybrown;" lang="EN-US">'A.bin'</span><span
style="font-family: Monospaced;" lang="EN-US">,</span><span
style="font-family: Monospaced; color: rosybrown;" lang="EN-US">'A'</span><span
style="font-family: Monospaced; color: rgb(74, 85, 219);" lang="EN-US">)</span><span
style="font-family: Monospaced;" lang="EN-US">;</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-family: Monospaced; color: rgb(50, 185, 185);" lang="EN-US">clear</span><span
style="font-family: Monospaced;" lang="EN-US"> </span><span
style="font-family: Monospaced; color: rosybrown;" lang="EN-US">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 moz-do-not-send="true" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a><o:p></o:p></pre>
<pre><a moz-do-not-send="true"
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: 12pt; font-family: "Times New Roman","serif";"><o:p> </o:p></span></p>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>