From 9f183f59672d5b4002eecca42b31dc67e5c284c6 Mon Sep 17 00:00:00 2001 From: radkesvat <134321679+radkesvat@users.noreply.github.com> Date: Wed, 24 Apr 2024 21:19:48 +0000 Subject: [PATCH] lower small buffer pool preallocation --- ww/buffer_pool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ww/buffer_pool.c b/ww/buffer_pool.c index 19b834f0..ba9d8f93 100644 --- a/ww/buffer_pool.c +++ b/ww/buffer_pool.c @@ -129,7 +129,7 @@ buffer_pool_t *createBufferPool() buffer_pool_t *createSmallBufferPool() { - const unsigned long count_max = 2 * (16 * 4); + const unsigned long count_max = 2 * (16 * 2); const unsigned long container_len = count_max * sizeof(shift_buffer_t *); buffer_pool_t * pool = malloc(sizeof(buffer_pool_t) + container_len); #ifdef DEBUG