tsan using up > 16G ?

Hi

I’m running TSAN over the LibreOffice codebase, and with certain unit tests, clang will basically use up all available memory on my box (16G) before the OOM killer kicks in.

I’m using
export TSAN_OPTIONS=suppressions=/media/disk2/libo-san/tsan-suppress.txt:memory_limit_mb=4096:flush_memory_ms=250

and I’m running clang from trunk about 4 weeks ago.

What can I do to reduce the memory usage or track down the bug?

Thanks, Noel Grandin