I'm trying to recover a broken sqlite database using the recover feature of sqlite3.exe:
sqlite3.exe borken.db ".recover" | sqlite3 fixed.db
The broken database has a size of 142 mb. When running the command I'll get the following error after a while:
SQL error: out of memory
Is there a known workaround for this issue?
The process doesn't seem to need a lot of value so it doesn't seem to be the real error reason.
I've also tried the x64 version of sqlite3.exe which uses a max of around 6 mb memory. So it doesn't seem to be a real memory issue.