int64_t PG_memory_limit() { HPHP::String ret; HPHP::IniSetting::Get("memory_limit", ret); return ret->toInt64(); }