disable rlimit when ASAN is used
This commit is contained in:
parent
6afce01744
commit
1df3d8f0c7
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue