dain / leveldb

Port of LevelDB to Java

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

open db oom error when the database has a large manifest file

halibobo1205 opened this issue · comments

hi, due to the manifest file rewrite when db is reopen, the db is running a very long time, manifest file grew up 4.3G.when i reopen the db, versionset.recover cause a oom error because of this Builder
/**
* A helper class so we can efficiently apply a whole sequence
* of edits to a particular state without creating intermediate
* Versions that contain full copies of the intermediate state.
*/
can this manifest deal with batch?
image
image