forked from qt-creator/qt-creator
Sqlite: Increase default maximum cache size
The default maximum size is 2MB which is quite small for bigger transactions. Increasing it to 100MB will give sqlite enough memory so it doesn't need to swap that often. This is not important for reading because we use mmap. Change-Id: I9a07bbd8f1ce594e66b46936480d69b0fb8c3d84 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
1
src/libs/3rdparty/sqlite/config.h
vendored
1
src/libs/3rdparty/sqlite/config.h
vendored
@@ -82,3 +82,4 @@
|
||||
#define SQLITE_ENABLE_PREUPDATE_HOOK 1
|
||||
#define SQLITE_LIKE_DOESNT_MATCH_BLOBS 1
|
||||
#define SQLITE_OMIT_AUTOINIT 1
|
||||
#define SQLITE_DEFAULT_CACHE_SIZE -100000
|
||||
|
Reference in New Issue
Block a user