Disable memory copy to disk on OsX