reverted one of my earlier changes (SQLITE_DEFAULT_MEMSTATUS); causes memory errors