diff --git a/Makefile b/Makefile index 4f4146b8ad4f81789d0251499f5bd15006c4f176..9702fe278a8903fc0a4f57a0ded2d1ed14377af9 100644 --- a/Makefile +++ b/Makefile @@ -224,6 +224,9 @@ ifdef COMPILE_WITH_TSAN PROFILING_FLAGS = # LUA is not supported under TSAN LUA_PATH = + # Limit keys for crash test under TSAN to avoid error: + # "ThreadSanitizer: DenseSlabAllocator overflow. Dying." + CRASH_TEST_EXT_ARGS += --max_key=1000000 endif # AIX doesn't work with -pg