SQLite Forum

Database disk image is malformed
Login
I have been working on an embedded system. My database size is almost 3GB. I have encountered with "Database disk image is malformed" error. After this, I copied database to windows operating system and executed the same query without any problem. After that I execute analyze command with no error, but pragma integrity_check with following errors; 
"
On tree page 51181 cell 0: 232 of 244 pages missing from overflow list starting at 51183...
...similar lines...
Page 51195 is never used
Page 51196 is never used
Page 51197 is never used
...similar lines...
"

I want to ask some questions on this situation. 

1. Why do I get "Database disk image is malformed" error?
2. Why do I get "232 of 244 pages missing from overflow list starting at 51183" error?
3. Why do I get "Page 51195 is never used" error?

If you can give some insights, I try to understand what kind of an error that I have made cause such a situation.

Thanks for advance,
Best Regards,