Surprising memory usage with database snapshots