Sorry but that opens up more questions than it answers. Did you build SQLite for verix OS yourself? Have you checked to see if each execution of the query adds about the same amount to heap memory? Have you used valgrind or whatever tool there is available on verix OS to check for memory leaks? Have you tried reproducing the error on a less obscure OS? Can you provide a minimal example (schema and queries in plain SQL) that illustrates the problem?