[Libwebsockets] libwebsockets.so.17 almost ten times bigger than libwebsockets.so.16

andy at warmcat.com andy at warmcat.com
Tue Sep 29 14:30:49 CEST 2020



On September 29, 2020 12:23:57 PM UTC, "thomas.spitz at hestia-france.com" <thomas.spitz at hestia-france.com> wrote:
>Hello everyone, hello Andy,
>
>Using the same compilation directive, libwebsockets 4.1 stable creates 
>lib that is almost ten times bigger than libwebsockets 4.0.
>Respectively 
>3.1MB instead of 398,2 kB

Size of the elf is pretty meaningless metric, since debug sections go in there if you build with -g, (on old or newer versions), try -DCMAKE_BUILD_TYPE=RELEASE.

Debug sections don't get loaded into memory with the code and data sections but stay on disk...

-Andy


More information about the Libwebsockets mailing list