X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/b4e7527561f1c68b821d5cf25efe29ae63d1d434..35aacb69f5c839a4b77158464e401d86eb422ed6:/src/src/macros.h diff --git a/src/src/macros.h b/src/src/macros.h index 5279f70d0..8aed335b5 100644 --- a/src/src/macros.h +++ b/src/src/macros.h @@ -1185,4 +1185,9 @@ typedef enum { sw_mrc_tx_fail, /* transmit failed */ } sw_mrc_t; +/* Recent versions of PCRE2 are allocating 20kB per match, rather than the previous 112 B. +When doing en extended loop of matching, release store periodically. */ + +#define REGEX_LOOPCOUNT_STORE_RESET 1000 + /* End of macros.h */