dovecot-2.2: Increased initial memory pool sizes.

dovecot at dovecot.org dovecot at dovecot.org
Sun May 20 03:26:30 EEST 2012


details:   http://hg.dovecot.org/dovecot-2.2/rev/3cb33e050dc4
changeset: 14372:3cb33e050dc4
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Mar 22 17:12:35 2012 +0200
description:
Increased initial memory pool sizes.

diffstat:

 src/lib-dict/dict-file.c       |  2 +-
 src/lib-storage/fail-mailbox.c |  2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 703380324b71 -r 3cb33e050dc4 src/lib-dict/dict-file.c
--- a/src/lib-dict/dict-file.c	Thu Mar 22 17:11:37 2012 +0200
+++ b/src/lib-dict/dict-file.c	Thu Mar 22 17:12:35 2012 +0200
@@ -254,7 +254,7 @@
 	struct file_dict_transaction_context *ctx;
 	pool_t pool;
 
-	pool = pool_alloconly_create("file dict transaction", 1024);
+	pool = pool_alloconly_create("file dict transaction", 2048);
 	ctx = p_new(pool, struct file_dict_transaction_context, 1);
 	ctx->ctx.dict = _dict;
 	ctx->pool = pool;
diff -r 703380324b71 -r 3cb33e050dc4 src/lib-storage/fail-mailbox.c
--- a/src/lib-storage/fail-mailbox.c	Thu Mar 22 17:11:37 2012 +0200
+++ b/src/lib-storage/fail-mailbox.c	Thu Mar 22 17:12:35 2012 +0200
@@ -299,7 +299,7 @@
 	struct mailbox *box;
 	pool_t pool;
 
-	pool = pool_alloconly_create("fail mailbox", 1024);
+	pool = pool_alloconly_create("fail mailbox", 1024+512);
 	box = p_new(pool, struct mailbox, 1);
 	*box = fail_mailbox;
 	box->vname = p_strdup(pool, vname);


More information about the dovecot-cvs mailing list