From: Timo Sirainen Date: Fri, 10 Apr 2009 22:50:35 +0000 (-0400) Subject: Changed initial memory pool sizes. X-Git-Tag: 2.0.alpha1~982 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4eaacd0bb94db248755b45d325f6411df526b9af;p=thirdparty%2Fdovecot%2Fcore.git Changed initial memory pool sizes. --HG-- branch : HEAD --- diff --git a/src/imap/client.c b/src/imap/client.c index 873245c6bb..9fce2472f8 100644 --- a/src/imap/client.c +++ b/src/imap/client.c @@ -53,7 +53,8 @@ struct client *client_create(int fd_in, int fd_out, struct mail_user *user, client->to_idle = timeout_add(CLIENT_IDLE_TIMEOUT_MSECS, client_idle_timeout, client); - client->command_pool = pool_alloconly_create("client command", 1024*12); + client->command_pool = + pool_alloconly_create(MEMPOOL_GROWING"client command", 1024*12); client->user = user; for (ns = user->namespaces; ns != NULL; ns = ns->next) { diff --git a/src/imap/imap-settings.c b/src/imap/imap-settings.c index f90d1ae5ff..455c3ca573 100644 --- a/src/imap/imap-settings.c +++ b/src/imap/imap-settings.c @@ -96,7 +96,7 @@ void imap_settings_read(const struct imap_settings **set_r, void **sets; if (settings_pool == NULL) - settings_pool = pool_alloconly_create("imap settings", 2048); + settings_pool = pool_alloconly_create("imap settings", 4096); else p_clear(settings_pool); diff --git a/src/pop3/pop3-settings.c b/src/pop3/pop3-settings.c index f74e55daeb..587ff7f22f 100644 --- a/src/pop3/pop3-settings.c +++ b/src/pop3/pop3-settings.c @@ -95,7 +95,7 @@ void pop3_settings_read(const struct pop3_settings **set_r, void **sets; if (settings_pool == NULL) - settings_pool = pool_alloconly_create("pop3 settings", 1024); + settings_pool = pool_alloconly_create("pop3 settings", 4096); else p_clear(settings_pool);