Stop trying to setrlimit(RLIMIT_AS) in ASAN builds
authorYedidya Feldblum <yfeldblum@fb.com>
Sat, 6 May 2017 00:14:26 +0000 (17:14 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Sat, 6 May 2017 04:54:27 +0000 (21:54 -0700)
commit613033bad212d5500d4af3a76dbc72583ff5b820
treefded6372c2582b1d18e67f2885edc4470e8660c3
parent90230f140b4b4cb350d087c79af30eceb21e8d41
Stop trying to setrlimit(RLIMIT_AS) in ASAN builds

Summary:
[Folly] Stop trying to `setrlimit(RLIMIT_AS)` in ASAN builds.

ASAN needs to reserve plenty of memory outside of the limited address space imposed by the call to `setrlimit`.

Reviewed By: andriigrynenko

Differential Revision: D5014679

fbshipit-source-id: 2ab71b1cca9297d3a276cf72154fac30a2057f86
folly/futures/test/RetryingTest.cpp