Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

sqlite nomem error on integrity check

I have a embedded system which uses C/C++ api with a compiled version of SQLite v3. I get a SQLITE_NOMEM error on pragma integrity_check(10);. I asked the underlying system programmer what the applications heap size is and he tells me that the value is 500k. And also there's a SQL vector size of 4096.

What options do I have to get rid of this? Except splitting the databases to multiple ones?

like image 288
Taha Paksu Avatar asked Jun 11 '26 03:06

Taha Paksu


1 Answers

Increasing heap memory size to 1.5M fixed this problem.

like image 175
Taha Paksu Avatar answered Jun 14 '26 08:06

Taha Paksu



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!