Make sure you compile with SQLITE_DEFAULT_MEMSTATUS set to 0 in order to prevent serialization around the memory allocation routines.
Make sure you compile with SQLITE_DEFAULT_MEMSTATUS set to 0 in order to prevent serialization around the memory allocation routines.