Updated after GetMemoryUsage() rewrite.