you could use the Runtime class to get memory but ...
# kotlintest
s
you could use the Runtime class to get memory but it’s so nondetemernistic as to when GC happens I wouldn’t bother