reduce memory footprint for the BDB JE backend