<!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">
even with:<br>
clear <br>
clearglobal()<br>
?<br>
Fred<br>
<br>
<br>
Le 25/12/2012 00:48, Paul Carrico a écrit :
<blockquote cite="mid:000001cde231$28ac0750$7a0415f0$@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:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@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:Monospaced;
panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
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\00E9format\00E9 HTML Car";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
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";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.PrformatHTMLCar
{mso-style-name:"Pr\00E9format\00E9 HTML Car";
mso-style-priority:99;
mso-style-link:"Pr\00E9format\00E9 HTML";
font-family:"Courier New";}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:655576309;
mso-list-type:hybrid;
mso-list-template-ids:-713784448 55898946 67895299 67895301 67895297 67895299 67895301 67895297 67895299 67895301;}
@list l0:level1
{mso-level-start-at:0;
mso-level-number-format:bullet;
mso-level-text:-;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Monospaced","serif";
mso-fareast-font-family:"Times New Roman";
mso-bidi-font-family:"Courier New";}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
--></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="font-family: "Monospaced","serif";"
lang="EN-US">Dear All,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Monospaced","serif";"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Monospaced","serif";"
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
…<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Monospaced","serif";"
lang="EN-US">… thus what is the way to force Scilab to empty the
memory ? <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Monospaced","serif";"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Monospaced","serif";"
lang="EN-US">NB : the only way I found is to close Scilab …. Not
convenient !<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Monospaced","serif";"
lang="EN-US">Merry Christmas<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Monospaced","serif";"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Monospaced","serif";"
lang="EN-US">Paul<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-family: "Monospaced","serif"; color: rgb(50, 185, 185);"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-family: "Monospaced","serif"; color: rgb(50, 185, 185);"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-family: "Monospaced","serif"; color: rgb(50, 185, 185);"
lang="EN-US">mode</span><span
style="font-family: "Monospaced","serif"; color: rgb(74, 85, 219);"
lang="EN-US">(</span><span
style="font-family: "Monospaced","serif"; color: rosybrown;"
lang="EN-US">0</span><span
style="font-family: "Monospaced","serif"; color: rgb(74, 85, 219);"
lang="EN-US">)</span><span style="font-family: "Monospaced","serif";"
lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-family: "Monospaced","serif"; color: rgb(50, 185, 185);"
lang="EN-US">stacksize</span><span
style="font-family: "Monospaced","serif"; color: rgb(74, 85, 219);"
lang="EN-US">(</span><span
style="font-family: "Monospaced","serif"; color: rosybrown;"
lang="EN-US">'max'</span><span
style="font-family: "Monospaced","serif"; color: rgb(74, 85, 219);"
lang="EN-US">)</span><span
style="font-family: "Monospaced","serif"; color: black;" lang="EN-US">;</span><span
style="font-family: "Monospaced","serif";" lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Monospaced","serif";"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-family: "Monospaced","serif"; color: black;" lang="EN-US">n</span><span
style="font-family: "Monospaced","serif";" lang="EN-US"> <span
style="color: rgb(92, 92, 92);">=</span> <span
style="color: rosybrown;">500000</span><span style="color: black;">;</span><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-family: "Monospaced","serif"; color: black;" lang="EN-US">A</span><span
style="font-family: "Monospaced","serif";" lang="EN-US"> <span
style="color: rgb(92, 92, 92);">=</span> <span
style="color: rgb(50, 185, 185);">rand</span><span
style="color: rgb(74, 85, 219);">(</span><span style="color: black;">n,</span><span
style="color: rosybrown;">10</span><span
style="color: rgb(74, 85, 219);">)</span><span style="color: black;">;</span><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Monospaced","serif";"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-family: "Monospaced","serif"; color: rgb(50, 185, 185);"
lang="EN-US">save</span><span
style="font-family: "Monospaced","serif"; color: rgb(74, 85, 219);"
lang="EN-US">(</span><span
style="font-family: "Monospaced","serif"; color: rosybrown;"
lang="EN-US">'A.bin'</span><span
style="font-family: "Monospaced","serif"; color: black;" lang="EN-US">,</span><span
style="font-family: "Monospaced","serif"; color: rosybrown;"
lang="EN-US">'A'</span><span
style="font-family: "Monospaced","serif"; color: rgb(74, 85, 219);"
lang="EN-US">)</span><span
style="font-family: "Monospaced","serif"; color: black;" lang="EN-US">;</span><span
style="font-family: "Monospaced","serif";" lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-family: "Monospaced","serif"; color: rgb(50, 185, 185);"
lang="EN-US">clear</span><span
style="font-family: "Monospaced","serif";" lang="EN-US"> <span
style="color: rosybrown;">A</span><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">(windows task manager shows
the memory is not empty after « clear » use) <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>