fix core
reduce mem usage in rdbmap. useful
for when there are thousands of tiny collections.