<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">Le 03/12/2020 à 09:59, Antoine
Monmayrant a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:037ad3a9-7e49-dbd3-7748-522fa7cb3bb6@laas.fr">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<p>Hello again,</p>
<p>Just to add to my previous message: increasing nx or ny in my
script can crash scilab during the call to xend().<br>
On my small local machine, this occurs for:<br>
</p>
<blockquote>
<p>nx=4000;<br>
ny=3000;</p>
</blockquote>
<p>for which scilab takes ~7 seconds to create the png in "normal"
mode...</p>
<p>Can any of you confirm this bug?<br>
</p>
</blockquote>
<p><br>
</p>
<p>The crash is due to a too small Java Heap of memory.<br>
When increasing it through the user's Preferences from 256 MB to 1
GB, the PNG export works as fast as expected.<br>
I get i nice png image from 4000x3000 with<br>
--> tic(); Sgrayplot(x,y,z.'); toc()
<br>
ans =
<br>
8.1342045
<br>
<br>
--> tic(); xs2png(0, "test.png"); toc
<br>
ans =
<br>
0.4060765
<br>
</p>
Best regards<br>
Samuel<br>
<br>
</body>
</html>