dovecot-2.1: Increase initial memory pool sizes.

dovecot at dovecot.org dovecot at dovecot.org
Thu Feb 9 00:41:49 EET 2012


details:   http://hg.dovecot.org/dovecot-2.1/rev/f6102f0af71d
changeset: 14078:f6102f0af71d
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Feb 09 00:38:30 2012 +0200
description:
Increase initial memory pool sizes.

diffstat:

 src/lib-index/mail-cache.c       |  2 +-
 src/lib-master/mountpoint-list.c |  2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 24eec256a761 -r f6102f0af71d src/lib-index/mail-cache.c
--- a/src/lib-index/mail-cache.c	Wed Feb 08 23:27:22 2012 +0200
+++ b/src/lib-index/mail-cache.c	Thu Feb 09 00:38:30 2012 +0200
@@ -409,7 +409,7 @@
 	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 -r 24eec256a761 -r f6102f0af71d src/lib-master/mountpoint-list.c
--- a/src/lib-master/mountpoint-list.c	Wed Feb 08 23:27:22 2012 +0200
+++ b/src/lib-master/mountpoint-list.c	Thu Feb 09 00:38:30 2012 +0200
@@ -56,7 +56,7 @@
 	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);


More information about the dovecot-cvs mailing list