```
make check
```
Run `bitcoind` with `-debug=leveldb` and check the log file for the `LEVELDB` category and the following pattern:
`WriteBatch memory usage: db=..., before=...MiB, after=...MiB`
Verify that printed sizes (before and after) make sense.