Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(118)

Unified Diff: third_party/sqlite/BUILD.gn

Issue 1610963002: Import SQLite 3.10.2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/sqlite/README.chromium » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/BUILD.gn
diff --git a/third_party/sqlite/BUILD.gn b/third_party/sqlite/BUILD.gn
index 395bfa5750f68f323ef952d7792cb591e68c7e22..3030ddb26d5888c343bd2f4a842cc78cf88a8bf3 100644
--- a/third_party/sqlite/BUILD.gn
+++ b/third_party/sqlite/BUILD.gn
@@ -80,6 +80,11 @@ if (!use_system_sqlite) {
# TODO(shess): Upstream the ability to use this define.
"SQLITE_MMAP_READ_ONLY=1",
+ # By default SQLite pre-allocates 100 pages of pcache data, which will not
+ # be released until the handle is closed. This is contrary to Chromium's
+ # memory-usage goals.
+ "SQLITE_DEFAULT_PCACHE_INITSZ=0",
+
# NOTE(shess): Some defines can affect the amalgamation. Those should be
# added to google_generate_amalgamation.sh, and the amalgamation
# re-generated. Usually this involves disabling features which include
« no previous file with comments | « no previous file | third_party/sqlite/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698