Is this 8G of RAM? If yes - I'd be curious to know which part of libsanitizer needs so much memory.Here is what I have in gcc.log: ==12356==ERROR: AddressSanitizer failed to allocate 0x200001000 (8589938688) bytes at address ffffff000 (errno: 12)^M ==12356==ReserveShadowMemoryRange failed while trying to map 0x200001000 bytes. Perhaps you're using ulimit -v^M
Interesting. AFAIK Asan maps shadow memory with NORESERVE flag so it should not consume any RAM at all...
-Y