Making sys.getMemoryUsage optional.