[Scilab-users] Still available memory on the Java heap

Samuel Gougeon sgougeon at free.fr
Mon Jul 22 21:10:29 CEST 2019


Hello Clément,

Le 22/07/2019 à 16:01, Clément David a écrit :
> Hello Samuel,
>
> You can get memory information from the JVM using JIMS:
>
> --> jimport java.lang.Runtime
>
> --> Runtime.getRuntime().totalMemory()
>   ans  =
>
>    249036800
>
>
> --> Runtime.getRuntime().freeMemory()
>   ans  =
>
>    175335480

Excellent!
Thanks a lot.

Samuel




More information about the users mailing list