summaryrefslogtreecommitdiff
path: root/src/common/db.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-06-13 08:21:57 -0300
committerEuphy <euphy@rathena.org>2013-06-15 15:52:17 -0400
commita74d357158adb36bd318b372b159fddd3f3fc378 (patch)
treefe8954de850caa03ed2f3b0c34031ab364f51371 /src/common/db.c
parent0d6335f7ebff81f65a28568cf6fc1e24deaf96d1 (diff)
downloadhercules-a74d357158adb36bd318b372b159fddd3f3fc378.tar.gz
hercules-a74d357158adb36bd318b372b159fddd3f3fc378.tar.bz2
hercules-a74d357158adb36bd318b372b159fddd3f3fc378.tar.xz
hercules-a74d357158adb36bd318b372b159fddd3f3fc378.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.c1
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);
}