Implemented Apple-specific GetMemoryUsage.