Coverage is using large arrays which requires large allocations.
These allocations are flaky and often failing on win64.
We are using the 32-bits size until this gets a better fix.
Differential D29945
[compiler-rt][asan|win] Fix flaky unittest due to large allocations etienneb on Feb 14 2017, 8:23 AM. Authored by
Details Coverage is using large arrays which requires large allocations. We are using the 32-bits size until this gets a better fix.
Diff Detail
Event Timeline
|
This comment should document what makes Windows special, and not just "the unittests fail unless we do this". Windows doesn't do overcommit (committed virtual memory costs swap), so programs can't reliably map such large amounts of virtual memory.