Closed ghost closed 7 years ago
https://docs.oracle.com/javase/7/docs/api/java/lang/Runtime.html
Runtimge.getRuntime().freeMemory()
Added, but write 8G (default value)
You can use those calls as fallback and use haxecpp functions when required. If it doesnt work properly we can update jtransc to fix it. Which fuction return 8g on haxe?
I am not understand how i can use it from backend, java does not have this functions. Maybe from annotations? Maybe simple example for me?