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

Regards,

--
Clément DAVID

> -----Original Message-----
> From: users <users-boun...@lists.scilab.org> On Behalf Of Samuel Gougeon
> Sent: Thursday, July 18, 2019 11:21 AM
> To: International users mailing list for Scilab. <users@lists.scilab.org>
> Subject: [Scilab-users] Still available memory on the Java heap
> 
> Hello,
> 
> Is there a way equivalent to getmemory() to get the free memory on the
> reserved Scilab java heap?
> 
> xmlGetValues() can be used to get the total reserved java heap amount, but i
> would need to know the still free not yet used memory.
> 
> Thanks
> Samuel
> 
> _______________________________________________
> users mailing list
> users@lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users

Reply via email to