From: Timo Sirainen Date: Mon, 26 Jan 2009 00:40:36 +0000 (-0500) Subject: Increased some initial memory pool sizes. X-Git-Tag: 1.2.beta1~58 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f325d795b52ce2053f914072b22ebca9c4f0dc7e;p=thirdparty%2Fdovecot%2Fcore.git Increased some initial memory pool sizes. --HG-- branch : HEAD --- diff --git a/src/lib-dict/dict-sql.c b/src/lib-dict/dict-sql.c index 94b7f9f4c5..1260e4b441 100644 --- a/src/lib-dict/dict-sql.c +++ b/src/lib-dict/dict-sql.c @@ -69,7 +69,7 @@ sql_dict_init(struct dict *driver, const char *uri, struct sql_dict *dict; pool_t pool; - pool = pool_alloconly_create("sql dict", 1024); + pool = pool_alloconly_create("sql dict", 2048); dict = p_new(pool, struct sql_dict, 1); dict->pool = pool; dict->dict = *driver; diff --git a/src/lib-storage/index/shared/shared-list.c b/src/lib-storage/index/shared/shared-list.c index c4eee08549..3989af0fe1 100644 --- a/src/lib-storage/index/shared/shared-list.c +++ b/src/lib-storage/index/shared/shared-list.c @@ -20,7 +20,7 @@ static struct mailbox_list *shared_list_alloc(void) struct mailbox_list *list; pool_t pool; - pool = pool_alloconly_create("shared list", 256); + pool = pool_alloconly_create("shared list", 1024); list = p_new(pool, struct mailbox_list, 1); *list = shared_mailbox_list; list->pool = pool; diff --git a/src/lib-storage/index/shared/shared-storage.c b/src/lib-storage/index/shared/shared-storage.c index add9e80d49..83fe0c1af1 100644 --- a/src/lib-storage/index/shared/shared-storage.c +++ b/src/lib-storage/index/shared/shared-storage.c @@ -25,7 +25,7 @@ static struct mail_storage *shared_alloc(void) struct shared_storage *storage; pool_t pool; - pool = pool_alloconly_create("shared storage", 256); + pool = pool_alloconly_create("shared storage", 1024); storage = p_new(pool, struct shared_storage, 1); storage->storage = shared_storage; storage->storage.pool = pool; diff --git a/src/plugins/quota/quota.c b/src/plugins/quota/quota.c index eec3c5a632..e53f754345 100644 --- a/src/plugins/quota/quota.c +++ b/src/plugins/quota/quota.c @@ -48,7 +48,7 @@ struct quota_settings *quota_settings_init(void) struct quota_settings *quota_set; pool_t pool; - pool = pool_alloconly_create("quota settings", 256); + pool = pool_alloconly_create("quota settings", 1024); quota_set = p_new(pool, struct quota_settings, 1); quota_set->pool = pool; quota_set->test_alloc = quota_default_test_alloc;