diff --git a/flow/Platform.cpp b/flow/Platform.cpp index d303e48d80..59efdf0a9c 100644 --- a/flow/Platform.cpp +++ b/flow/Platform.cpp @@ -1410,7 +1410,7 @@ void setMemoryQuota( size_t limit ) { } if (!AssignProcessToJobObject( job, GetCurrentProcess() )) TraceEvent(SevWarn, "FailedToSetMemoryLimit").GetLastError(); -#elif defined(__linux__) +#elif defined(__linux__) && !defined(USE_ASAN) struct rlimit rlim; if (getrlimit(RLIMIT_AS, &rlim)) { TraceEvent(SevError, "GetMemoryLimit").GetLastError();