Bug 1461691 - Increase places.sqlite max size for new autofill. r?mak draft
authorDrew Willcoxon <adw@mozilla.com>
Tue, 15 May 2018 13:16:00 -0700
changeset 795473 8caca89c7e8e63c178e49b97d6abc37f80d59129
parent 795256 cf3ee14023483cbbb57129479537c713e22c1980
push id109981
push userbmo:adw@mozilla.com
push dateTue, 15 May 2018 20:16:33 +0000
reviewersmak
bugs1461691
milestone62.0a1
Bug 1461691 - Increase places.sqlite max size for new autofill. r?mak MozReview-Commit-ID: 21BSiFJYoV7
toolkit/components/places/nsPlacesExpiration.js
--- a/toolkit/components/places/nsPlacesExpiration.js
+++ b/toolkit/components/places/nsPlacesExpiration.js
@@ -62,17 +62,17 @@ const PREF_INTERVAL_SECONDS_NOTSET = 3 *
 // This percentage of memory size is used to protect against calculating a too
 // large database size on systems with small memory.
 const DATABASE_TO_MEMORY_PERC = 4;
 // This percentage of disk size is used to protect against calculating a too
 // large database size on disks with tiny quota or available space.
 const DATABASE_TO_DISK_PERC = 2;
 // Maximum size of the optimal database.  High-end hardware has plenty of
 // memory and disk space, but performances don't grow linearly.
-const DATABASE_MAX_SIZE = 73400320; // 70MiB
+const DATABASE_MAX_SIZE = 78643200; // 75 MiB
 // If the physical memory size is bogus, fallback to this.
 const MEMSIZE_FALLBACK_BYTES = 268435456; // 256 MiB
 // If the disk available space is bogus, fallback to this.
 const DISKSIZE_FALLBACK_BYTES = 268435456; // 256 MiB
 
 // Max number of entries to expire at each expiration step.
 // This value is globally used for different kind of data we expire, can be
 // tweaked based on data type.  See below in getBoundStatement.