Discussion:
[sqlite] sqlite 3.8.11 - binary size
Romain Crausaz
10 years ago
Permalink
Dear,

We have an embedded system using sqlite. I performed an update from
version 3.7.11 to 3.8.11 and was surprized that the binary file sqlite3
has grown from 44.8 KB to 627.4 KB. I used the same configuration
(default) for both cross-compilation.

The system has a limited amount of NAND memory and this make it unusable
in our case.

Is this memory increase normal or am I doing something wrong ?

The library size didn't increase. It is only the sqlite3 binary file.

Best regards
Romain Crausaz
Richard Hipp
10 years ago
Permalink
Post by Romain Crausaz
Dear,
We have an embedded system using sqlite. I performed an update from
version 3.7.11 to 3.8.11 and was surprized that the binary file sqlite3
has grown from 44.8 KB to 627.4 KB. I used the same configuration
(default) for both cross-compilation.
We carefully monitor the size of the compiled SQLite binary. A graph
of that size is shown at

Failed to load image: https://www.sqlite.org/binary-size.jpg

The 627.4KB for 3.8.11 is within reason, depending on what compiler
you are using. But SQLite has *never* been as small as 44.8 KB. Is
that a typo?

As you can see, the binary size has increased some, but not a lot,
over the past 8 years.
Post by Romain Crausaz
The system has a limited amount of NAND memory and this make it unusable
in our case.
Is this memory increase normal or am I doing something wrong ?
The library size didn't increase. It is only the sqlite3 binary file.
Best regards
Romain Crausaz
_______________________________________________
sqlite-users mailing list
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
--
D. Richard Hipp
***@sqlite.org
Stephan Beal
10 years ago
Permalink
Post by Richard Hipp
We carefully monitor the size of the compiled SQLite binary. A graph
of that size is shown at
https://www.sqlite.org/binary-size.jpg
The 627.4KB for 3.8.11 is within reason, depending on what compiler
you are using. But SQLite has *never* been as small as 44.8 KB. Is
that a typo?
Dynamically linked, perhaps?

----- stephan
Sent from a mobile device, possibly from bed. Please excuse brevity, typos,
and top-posting.
Shuhrat Rahimov
10 years ago
Permalink
Hi,
I am running sqlite3 v3.8.10 on an ARM Cortex-M4 based embedded system. The
minimal size I could achieve was 184 K. Do you really have 44.8 K? And how
much runtime RAM is used by your binary? My RAM usage is 72-74 K.
...
Continue reading on narkive:
Search results for '[sqlite] sqlite 3.8.11 - binary size' (Questions and Answers)
3
replies
what is an example of an efficient computer program?
started 12 years ago
programming & design
Loading...