(The previous response wasn't from me. I'm the original author of this thread, probably trying to solve a different use case). I'm removing as much as possible functionality from SQLite and actually tried to define SQLITE_OMIT_DISKIO as well (there are several things which look like they would need major changes, though). I'm using SQLite as an in-memory data processor without any disk IO.