Call _sqlite3_purgeEligiblePagerCacheMemory() on memory pressure only if sqlite is initialized.
Created attachment 312672 [details] Patch
<rdar://problem/30780050>
Comment on attachment 312672 [details] Patch Okay. Let's try this fix.
Comment on attachment 312672 [details] Patch Clearing flags on attachment: 312672 Committed r218108: <http://trac.webkit.org/changeset/218108>
All reviewed patches have been landed. Closing bug.
Comment on attachment 312672 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=312672&action=review > Source/WebCore/page/cocoa/MemoryReleaseCocoa.mm:43 > +static bool isSQLiteMemoryPressureHandlerRegisted { false }; Typo here: "registed" instead of "registered".
(In reply to Darin Adler from comment #6) > Comment on attachment 312672 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=312672&action=review > > > Source/WebCore/page/cocoa/MemoryReleaseCocoa.mm:43 > > +static bool isSQLiteMemoryPressureHandlerRegisted { false }; > > Typo here: "registed" instead of "registered". Thanks, I have fixed the typo in <http://trac.webkit.org/changeset/218178>.