↓ 2 callersFunctionGetRSSFromGetrusagegetrusage does not give us the current RSS, only the max RSS. Still, this is better than nothing if /proc/self/statm is not available for some reason,
system/lib/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cpp:797