Skip to content

Commit b5438fd

Browse files
authored
Merge pull request #11 from rqlite/2GiB-memory
Increase default max memory size
2 parents 5af48a8 + 042f223 commit b5438fd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sqlite3.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ package sqlite3
2222
#cgo CFLAGS: -DSQLITE_OMIT_SHARED_CACHE
2323
#cgo CFLAGS: -DSQLITE_ENABLE_JSON1
2424
#cgo CFLAGS: -DSQLITE_ENABLE_DBSTAT_VTAB
25+
#cgo CFLAGS: -DSQLITE_MEMDB_DEFAULT_MAXSIZE=2147483648
2526
#cgo CFLAGS: -Wno-deprecated-declarations
2627
#cgo linux,!android CFLAGS: -DHAVE_PREAD64=1 -DHAVE_PWRITE64=1
2728
#ifndef USE_LIBSQLITE3

0 commit comments

Comments
 (0)