mirror of https://gitee.com/bigwinds/arangodb
increase threshold for "big" allocations
This commit is contained in:
parent
9ba3b68109
commit
0fbb3882e4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue