From: Timo Sirainen Date: Wed, 8 Feb 2012 22:38:30 +0000 (+0200) Subject: Increase initial memory pool sizes. X-Git-Tag: 2.1.rc6~62 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b878c6a17c608fcd8b52a5762ed2c6a5cf4700a;p=thirdparty%2Fdovecot%2Fcore.git Increase initial memory pool sizes. --- diff --git a/src/lib-index/mail-cache.c b/src/lib-index/mail-cache.c index f81db683bb..1db7e62c05 100644 --- a/src/lib-index/mail-cache.c +++ b/src/lib-index/mail-cache.c @@ -409,7 +409,7 @@ static struct mail_cache *mail_cache_alloc(struct mail_index *index) cache->fd = -1; cache->filepath = i_strconcat(index->filepath, MAIL_CACHE_FILE_SUFFIX, NULL); - cache->field_pool = pool_alloconly_create("Cache fields", 1024); + cache->field_pool = pool_alloconly_create("Cache fields", 2048); cache->field_name_hash = hash_table_create(default_pool, cache->field_pool, 0, strcase_hash, (hash_cmp_callback_t *)strcasecmp); diff --git a/src/lib-master/mountpoint-list.c b/src/lib-master/mountpoint-list.c index 856a07e7b0..3182a80e17 100644 --- a/src/lib-master/mountpoint-list.c +++ b/src/lib-master/mountpoint-list.c @@ -56,7 +56,7 @@ mountpoint_list_init(const char *perm_path, const char *state_path) struct mountpoint_list *list; pool_t pool; - pool = pool_alloconly_create("mountpoint list", 512); + pool = pool_alloconly_create("mountpoint list", 1024); list = p_new(pool, struct mountpoint_list, 1); list->pool = pool; list->perm_path = p_strdup(pool, perm_path);