diff options
author | shennetsind <ind@henn.et> | 2013-06-13 08:21:57 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-06-13 08:21:57 -0300 |
commit | 5e90c5fd3ff133a8f8ba9787d8f83c48840a7a96 (patch) | |
tree | 9423ca650d743c936ae0e4f0bce8aae6ff23e696 /src/common/db.c | |
parent | 4b713e7e3eac34339285125d194ae4ff4627fc2a (diff) | |
download | hercules-5e90c5fd3ff133a8f8ba9787d8f83c48840a7a96.tar.gz hercules-5e90c5fd3ff133a8f8ba9787d8f83c48840a7a96.tar.bz2 hercules-5e90c5fd3ff133a8f8ba9787d8f83c48840a7a96.tar.xz hercules-5e90c5fd3ff133a8f8ba9787d8f83c48840a7a96.zip |
Memory Slasher [2] !!" - 17MB Down!
Hercules is now even slimmer.
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/common/db.c')
-rw-r--r-- | src/common/db.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/db.c b/src/common/db.c index 561371787..99c758a8d 100644 --- a/src/common/db.c +++ b/src/common/db.c @@ -2611,6 +2611,7 @@ void* db_data2ptr(DBData *data) void db_init(void) { db_iterator_ers = ers_new(sizeof(struct DBIterator_impl),"db.c::db_iterator_ers",ERS_OPT_NONE); db_alloc_ers = ers_new(sizeof(struct DBMap_impl),"db.c::db_alloc_ers",ERS_OPT_NONE); + ers_chunk_size(db_alloc_ers, 50); DB_COUNTSTAT(db_init); } |