From 885e86f7600f1ea585fccdcb1cf6bd64b769198d Mon Sep 17 00:00:00 2001 From: raster Date: Sun, 17 Jun 2012 01:51:45 +0000 Subject: [PATCH] tone down mempool chunk sizes git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eet@72253 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/eet_alloc.c | 2 +- src/lib/eet_node.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/eet_alloc.c b/src/lib/eet_alloc.c index 29e276c..1671ccd 100644 --- a/src/lib/eet_alloc.c +++ b/src/lib/eet_alloc.c @@ -61,7 +61,7 @@ eet_mempool_init(void) for (i = 0; i < sizeof (mempool_array) / sizeof (mempool_array[0]); ++i) { retry: - mempool_array[i]->mp = eina_mempool_add(choice, mempool_array[i]->name, NULL, mempool_array[i]->size, 64); + mempool_array[i]->mp = eina_mempool_add(choice, mempool_array[i]->name, NULL, mempool_array[i]->size, 16); if (!mempool_array[i]->mp) { if (!strcmp(choice, "pass_through")) diff --git a/src/lib/eet_node.c b/src/lib/eet_node.c index 11d7cc0..faaa905 100644 --- a/src/lib/eet_node.c +++ b/src/lib/eet_node.c @@ -783,7 +783,7 @@ eet_node_init(void) choice = tmp; _eet_node_mp = - eina_mempool_add(choice, "eet-node-alloc", NULL, sizeof(Eet_Node), 1024); + eina_mempool_add(choice, "eet-node-alloc", NULL, sizeof(Eet_Node), 32); return _eet_node_mp ? 1 : 0; } -- 2.7.4