LOOKASIDE
The SQLITE_CONFIG_LOOKASIDE option takes two arguments that determine the default size of lookaside memory on each database connection. The first argument is the size of each lookaside buffer slot ("sz") and the second is the number of slots allocated to each database connection ("cnt"). SQLITE_CONFIG_LOOKASIDE sets the default lookaside size. The SQLITE_DBCONFIG_LOOKASIDE option to sqlite3_db_config() can be used to change the lookaside configuration on individual connections. The -DSQLITE_DEFAULT_LOOKASIDE option can be used to change the default lookaside configuration at compile-time.