Documentation for method free-memory assembled from the following pages:

Class: Kernel §

From Kernel

(Kernel) method free-memory §

method free-memory(--> Int)

Instance / Class method returning the available memory on the system. When using the JVM, this returns the available memory to the JVM instead. This method is only available in release v2019.06 and later.