diff options
author | Björn-Egil Dahlberg <[email protected]> | 2015-06-17 15:40:00 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2015-06-17 15:40:00 +0200 |
commit | 4f757bb53f501a02f6e297eab1e13c6cc8c9eddb (patch) | |
tree | 51ee1e6afdf21907a6595e6749c346d0393cc0c8 | |
parent | 4d3672766e6b9c2ec70768706a893486010e0157 (diff) | |
parent | 22fda4c723eefe73c2eb34f13db326a53bfeba1f (diff) | |
download | otp-4f757bb53f501a02f6e297eab1e13c6cc8c9eddb.tar.gz otp-4f757bb53f501a02f6e297eab1e13c6cc8c9eddb.tar.bz2 otp-4f757bb53f501a02f6e297eab1e13c6cc8c9eddb.zip |
Merge branch 'egil/change-event-default/OTP-12849'
* egil/change-event-default/OTP-12849:
erts: Do not preallocate too large event pool
-rw-r--r-- | erts/lib_src/common/ethr_aux.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/lib_src/common/ethr_aux.c b/erts/lib_src/common/ethr_aux.c index 1ba51882c3..5b82a081ad 100644 --- a/erts/lib_src/common/ethr_aux.c +++ b/erts/lib_src/common/ethr_aux.c @@ -40,8 +40,8 @@ #include <unistd.h> #endif -#define ERTS_TS_EV_ALLOC_DEFAULT_POOL_SIZE 4000 -#define ERTS_TS_EV_ALLOC_POOL_SIZE 25 +#define ERTS_TS_EV_ALLOC_DEFAULT_POOL_SIZE 2048 +#define ERTS_TS_EV_ALLOC_POOL_SIZE 32 erts_cpu_info_t *ethr_cpu_info__; |