]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
Increased initial memory pool sizes.
authorTimo Sirainen <tss@iki.fi>
Tue, 4 May 2010 15:47:13 +0000 (18:47 +0300)
committerTimo Sirainen <tss@iki.fi>
Tue, 4 May 2010 15:47:13 +0000 (18:47 +0300)
--HG--
branch : HEAD

src/lib-storage/mail-user.c
src/plugins/quota/quota.c

index b6644fd450f631a972de15ffc1f5969a8f586f41..ff8d8d67222ffcd04eb061598e278bd9df2a80f0 100644 (file)
@@ -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;
index 81d8f9a894730cc42203b2e5d4a746ac765f43e0..fec8cd79da0b012b12bdfa58f0b688f45d1657ea 100644 (file)
@@ -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;