[Scilab-users] Increasing Scilab default Java heap memory to 512 MB?

Antoine Monmayrant antoine.monmayrant at laas.fr
Wed Dec 16 14:16:07 CET 2020


That's the very first thing we change after installing scilab on all the 
computers in our group, so I agree we need to change it.
Is there a way to make people aware of this settings and tell them that 
it's related to plotting?
Like displaying a tip saying that they can crank it up when they need to 
display/export large plots and that it will add up to the memory used by 
scilab?

Antoine

On 15/12/2020 19:09, Samuel Gougeon wrote:
> Opening a new thread after
> http://mailinglists.scilab.org/Scilab-users-Headless-graphics-in-scilab-time-memory-issues-tp4041133p4041160.html
>
> Le 15/12/2020 à 18:58, Samuel Gougeon a écrit :
>> Le 03/12/2020 à 09:59, Antoine Monmayrant a écrit :
>>>
>>> Hello again,
>>>
>>> Just to add to my previous message: increasing nx or ny in my script 
>>> can crash scilab during the call to xend().
>>> On my small local machine, this occurs for:
>>>
>>>     nx=4000;
>>>     ny=3000;
>>>
>>> for which scilab takes ~7 seconds to create the png in "normal" mode...
>>>
>>> Can any of you confirm this bug?
>>>
>>
>> The crash is due to a too small Java Heap of memory.
>> When increasing it through the user's Preferences from 256 MB to 1 
>> GB, the PNG export works as fast as expected.
>>
> By the way, everyone, what do you think about increasing the default 
> Scilab java Heap from 256 MB to 512 MB?
> This default 256 MB was set a long time ago, when on computers the 
> average RAM what much smaller than today...
>
> Samuel
>
>
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20201216/037da8c5/attachment.htm>


More information about the users mailing list