fix(sqlite): revert to default page cache size (#10362)
While we're figuring out optimal defaults, reduce the page cache size to the compiled-in default. In my computer this makes no difference in benchmarks. In forum threads, it solved the problem of massive memory usage during initial scan. Signed-off-by: Jakob Borg <jakob@kastelo.net>
This commit is contained in:
@@ -14,5 +14,5 @@ import (
|
||||
|
||||
const (
|
||||
dbDriver = "sqlite3"
|
||||
commonOptions = "_fk=true&_rt=true&_cache_size=-65536&_sync=1&_txlock=immediate"
|
||||
commonOptions = "_fk=true&_rt=true&_sync=1&_txlock=immediate"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user