dovecot-1.2: Increased some initial memory pool sizes.

dovecot at dovecot.org dovecot at dovecot.org
Mon Jan 26 02:40:41 EET 2009


details:   http://hg.dovecot.org/dovecot-1.2/rev/6ee78e18d026
changeset: 8685:6ee78e18d026
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Jan 25 19:40:36 2009 -0500
description:
Increased some initial memory pool sizes.

diffstat:

4 files changed, 4 insertions(+), 4 deletions(-)
src/lib-dict/dict-sql.c                       |    2 +-
src/lib-storage/index/shared/shared-list.c    |    2 +-
src/lib-storage/index/shared/shared-storage.c |    2 +-
src/plugins/quota/quota.c                     |    2 +-

diffs (48 lines):

diff -r ad35aae691ce -r 6ee78e18d026 src/lib-dict/dict-sql.c
--- a/src/lib-dict/dict-sql.c	Sun Jan 25 19:40:15 2009 -0500
+++ b/src/lib-dict/dict-sql.c	Sun Jan 25 19:40:36 2009 -0500
@@ -69,7 +69,7 @@ sql_dict_init(struct dict *driver, const
 	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 -r ad35aae691ce -r 6ee78e18d026 src/lib-storage/index/shared/shared-list.c
--- a/src/lib-storage/index/shared/shared-list.c	Sun Jan 25 19:40:15 2009 -0500
+++ b/src/lib-storage/index/shared/shared-list.c	Sun Jan 25 19:40:36 2009 -0500
@@ -20,7 +20,7 @@ static struct mailbox_list *shared_list_
 	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 -r ad35aae691ce -r 6ee78e18d026 src/lib-storage/index/shared/shared-storage.c
--- a/src/lib-storage/index/shared/shared-storage.c	Sun Jan 25 19:40:15 2009 -0500
+++ b/src/lib-storage/index/shared/shared-storage.c	Sun Jan 25 19:40:36 2009 -0500
@@ -25,7 +25,7 @@ static struct mail_storage *shared_alloc
 	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 -r ad35aae691ce -r 6ee78e18d026 src/plugins/quota/quota.c
--- a/src/plugins/quota/quota.c	Sun Jan 25 19:40:15 2009 -0500
+++ b/src/plugins/quota/quota.c	Sun Jan 25 19:40:36 2009 -0500
@@ -48,7 +48,7 @@ struct quota_settings *quota_settings_in
 	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;


More information about the dovecot-cvs mailing list