From: Timo Sirainen Date: Tue, 4 May 2010 15:47:13 +0000 (+0300) Subject: Increased initial memory pool sizes. X-Git-Tag: 2.0.beta5~12 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=abc79eec93e58e0152cd1d483f37be66c26811b9;p=thirdparty%2Fdovecot%2Fcore.git Increased initial memory pool sizes. --HG-- branch : HEAD --- diff --git a/src/lib-storage/mail-user.c b/src/lib-storage/mail-user.c index b6644fd450..ff8d8d6722 100644 --- a/src/lib-storage/mail-user.c +++ b/src/lib-storage/mail-user.c @@ -39,7 +39,7 @@ struct mail_user *mail_user_alloc(const char *username, i_assert(username != NULL); i_assert(*username != '\0'); - pool = pool_alloconly_create("mail user", 8192); + pool = pool_alloconly_create("mail user", 16*1024); user = p_new(pool, struct mail_user, 1); user->pool = pool; user->refcount = 1; diff --git a/src/plugins/quota/quota.c b/src/plugins/quota/quota.c index 81d8f9a894..fec8cd79da 100644 --- a/src/plugins/quota/quota.c +++ b/src/plugins/quota/quota.c @@ -92,7 +92,7 @@ struct quota_settings *quota_user_read_settings(struct mail_user *user) unsigned int i; pool_t pool; - pool = pool_alloconly_create("quota settings", 1024); + pool = pool_alloconly_create("quota settings", 2048); quota_set = p_new(pool, struct quota_settings, 1); quota_set->pool = pool; quota_set->test_alloc = quota_default_test_alloc;