currentRss property
The current resident set size of memory for the process, in bytes.
Note that the meaning of this field is platform dependent. For example, some memory accounted for here may be shared with other processes, or if the same page is mapped into a process's address space, it may be counted twice.
Implementation
external static int get currentRss;