From 610e51a162a6ef06accf8733b3b35b492963a78b Mon Sep 17 00:00:00 2001 From: Nik Bougalis Date: Thu, 5 Jan 2017 09:18:16 -0800 Subject: [PATCH] Increase sqlite database limits --- src/ripple/app/main/DBInit.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ripple/app/main/DBInit.cpp b/src/ripple/app/main/DBInit.cpp index c2a975abe..faedc6a9d 100644 --- a/src/ripple/app/main/DBInit.cpp +++ b/src/ripple/app/main/DBInit.cpp @@ -29,6 +29,7 @@ const char* TxnDBInit[] = "PRAGMA synchronous=NORMAL;", "PRAGMA journal_mode=WAL;", "PRAGMA journal_size_limit=1582080;", + "PRAGMA max_page_count=2147483646;", #if (ULONG_MAX > UINT_MAX) && !defined (NO_SQLITE_MMAP) "PRAGMA mmap_size=17179869184;",