Get default max memory from OS