1
0
Fork 0

increase threshold for "big" allocations

This commit is contained in:
jsteemann 2016-01-23 17:25:48 +01:00
parent 9ba3b68109
commit 0fbb3882e4
1 changed files with 1 additions and 2 deletions

View File

@ -38,7 +38,7 @@
////////////////////////////////////////////////////////////////////////////////
#ifdef TRI_ENABLE_MAINTAINER_MODE
#define MALLOC_WARNING_THRESHOLD (4 * 1024 * 1024)
#define MALLOC_WARNING_THRESHOLD (1024 * 1024 * 1024)
#endif
////////////////////////////////////////////////////////////////////////////////
@ -110,7 +110,6 @@ static double FailProbability = 0.0;
static double FailStartStamp = 0.0;
#endif
////////////////////////////////////////////////////////////////////////////////
/// @brief checks the size of the memory that is requested
/// prints a warning if size is above a threshold