In this release we introduce optimisations to minimise memory footprint:
- Configuration setting to turn off transactions storage, that allows saving space in memory and on disk
- In-memory state was reimplemented in order to reduce memory consumption
- MVStore's page size was decreased to 4Kb
New settings in
waves.mvstore-page-split-size- allows to change size of MVStore in-memory pages, default value 4096 bytes
waves.blockchain.store-transactions-in-state- allows to switch transactions storage in state, default value "on"
waves.blockchain.in-memory-chunk-size- sets the size of in-memory blocks window, the smaller value reduces the memory footprint, default value is 5
waves.blockchain.in-mem-chunks-amount- number of in-memory windows, default value is 10, the fast rollback is possible up to
We recommend to set
Xmx parameter to 4G in case of transaction storage turned on, and 2G if you switched off transactions storage.
Then transactions storage is turned off some API method calls could produce invalid results. We will fix it later.
When updating from version 0.8.x, there's no need to delete blockchain or state files, just update executables. If you are updating from earlier versions, please be sure to read 0.8.0 release notes.
Customer support service by UserEcho