Discussion:
[sqlite] sqlite 3.8.11 - binary size
Romain Crausaz
2015-10-22 08:51:27 UTC
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
2015-10-22 12:11:43 UTC
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

Loading Image...

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
2015-10-22 12:16:52 UTC
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
2015-10-22 12:18:17 UTC
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.
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.
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
Loading...