<HTML dir=ltr><HEAD><TITLE>Re: [Scilab-users] TR : java heap space</TITLE>
<META content="text/html; charset=unicode" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7601.17874"></HEAD>
<BODY>
<DIV dir=ltr id=idOWAReplyText47508>
<DIV dir=ltr><FONT color=#000000 size=2 face=Arial>I did not have the problem with Scilab 5.4.0 but with this last version my parameters modification are not taken into account when using scicos_simulate() as it used to be with previous versions.</FONT></DIV>
<DIV dir=ltr><FONT size=2 face=Arial></FONT> </DIV>
<DIV dir=ltr><FONT size=2 face=Arial>Code </FONT><FONT size=2 face=Arial>example:</FONT></DIV>
<DIV dir=ltr><FONT size=2 face=Arial>/////////////////////////</FONT></DIV>
<DIV dir=ltr><FONT color=#000000 size=2 face=Arial></FONT> </DIV>
<DIV dir=ltr><FONT color=#000000 size=2 face=Arial><SPAN style="COLOR: rgb(174,92,176); TEXT-DECORATION: underline">Context.mypar1;</SPAN></DIV>
<DIV dir=ltr><PRE style="FONT-STYLE: normal; FONT-FAMILY: Monospaced; FONT-SIZE: 13px"><SPAN style="COLOR: rgb(174,92,176); TEXT-DECORATION: underline"><PRE style="FONT-STYLE: normal; FONT-FAMILY: Monospaced; FONT-SIZE: 13px"><SPAN style="COLOR: rgb(174,92,176); TEXT-DECORATION: underline">Context.mypar2;</SPAN></PRE><PRE style="FONT-STYLE: normal; FONT-FAMILY: Monospaced; FONT-SIZE: 13px"><SPAN style="COLOR: rgb(174,92,176); TEXT-DECORATION: underline"></SPAN> </PRE><PRE style="FONT-STYLE: normal; FONT-FAMILY: Monospaced; FONT-SIZE: 13px"><SPAN style="COLOR: rgb(174,92,176); TEXT-DECORATION: underline"><PRE style="FONT-STYLE: normal; FONT-FAMILY: Monospaced; FONT-SIZE: 13px"><SPAN style="COLOR: rgb(174,92,176); TEXT-DECORATION: underline">Context.mypar3;</SPAN></PRE></SPAN></PRE></SPAN></PRE></DIV>
<DIV dir=ltr><PRE style="FONT-STYLE: normal; FONT-FAMILY: Monospaced; FONT-SIZE: 13px"><SPAN style="COLOR: rgb(174,92,176); TEXT-DECORATION: underline">scicos_simulate</SPAN><SPAN style="COLOR: rgb(74,85,219)">(</SPAN><SPAN style="COLOR: rgb(0,0,0)">scs_m</SPAN><SPAN style="COLOR: rgb(0,0,0)">,</SPAN><SPAN style="COLOR: rgb(50,185,185)">list</SPAN><SPAN style="COLOR: rgb(74,85,219)">(</SPAN><SPAN style="COLOR: rgb(74,85,219)">)</SPAN><SPAN style="COLOR: rgb(0,0,0)">,</SPAN><SPAN style="COLOR: rgb(0,0,0)">Context</SPAN><SPAN style="COLOR: rgb(0,0,0)">,</SPAN><SPAN style="COLOR: rgb(188,143,143)">'</SPAN><SPAN style="COLOR: rgb(188,143,143)">nw</SPAN><SPAN style="COLOR: rgb(188,143,143)">'</SPAN><SPAN style="COLOR: rgb(74,85,219)">)</SPAN><SPAN style="COLOR: rgb(0,0,0)">;</SPAN></PRE><PRE style="FONT-STYLE: normal; FONT-FAMILY: Monospaced; FONT-SIZE: 13px"><SPAN style="COLOR: rgb(0,0,0)"></SPAN> </PRE><PRE style="FONT-STYLE: normal; FONT-FAMILY: Monospaced; FONT-SIZE: 13px"><SPAN style="COLOR: rgb(0,0,0)">--> this simulation gives the same result than with original parameter values.</SPAN></PRE><PRE style="FONT-STYLE: normal; FONT-FAMILY: Monospaced; FONT-SIZE: 13px"><SPAN style="COLOR: rgb(0,0,0)"></SPAN> </PRE></DIV></FONT></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>De:</B> users-bounces@lists.scilab.org de la part de Clément David<BR><B>Date:</B> lun. 29/10/2012 09:09<BR><B>À:</B> International users mailing list for Scilab.<BR><B>Objet :</B> Re: [Scilab-users] TR : java heap space<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>Hello,<BR><BR>Scilab 5.3.3 use HDF5 to communicate data between Xcos and Scilab. To<BR>reduce the overhead we now (in Scilab 5.4.0) use a direct stack access.<BR>Can you check with the latest Scilab version please ?<BR><BR>Futhermore to manage huge models (more than 20k blocks) you may modify<BR>the default Java heap space setting in Scilab Preferences.<BR><BR>Le vendredi 26 octobre 2012 à 15:33 +0200, Stéphane Bécu a écrit :<BR>> xcosDiagramToHDF5: Java heap space<BR>> at line xxx of function importXcosDiagram called by : <BR>> importXcosDiagram("my_model.xcos");<BR><BR>--<BR>Clément DAVID<BR>Development Engineer<BR>-----------------------------------------------------------<BR>Scilab Enterprises<BR>143bis rue Yves Le Coz - 78000 Versailles, France<BR>Mobile: +33.6.26.26.51.90<BR>Phone: +33.2.90.22.78.96<BR><A href="http://www.scilab-enterprises.com/">http://www.scilab-enterprises.com</A><BR><BR>_______________________________________________<BR>users mailing list<BR>users@lists.scilab.org<BR><A href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</A><BR></FONT></P></DIV></BODY></HTML>