[
https://issues.apache.org/jira/browse/PROTON-558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14000173#comment-14000173
]
Andrew Stitcher commented on PROTON-558:
----------------------------------------
The checkin above reduces the space used appreciably:
On 32 bit machine:
Before change:
{code}
$ size proton-c/libqpid-proton.so
text data bss dec hex filename
257608 37896 12 295516 4825c proton-c/libqpid-proton.so
{code}
After change:
{code}
$ size proton-c/libqpid-proton.so
text data bss dec hex filename
258505 4704 12 263221 40435 proton-c/libqpid-proton.so
{code}
Giving a saving of 32Kib in data space for an extra use of about 1KiB of
program space.
For a 64 bit machine the saving is better:
Before:
{code}
$ size proton-c/libqpid-proton.so
text data bss dec hex filename
262629 75952 16 338597 52aa5 proton-c/libqpid-proton.so
{code}
After:
{code}
$ size proton-c/libqpid-proton.so
text data bss dec hex filename
263578 9632 16 273226 42b4a proton-c/libqpid-proton.so
{code}
Giving a saving of 64KiB and extra program space of about 1KiB
> Make friendly protocol field logging optional for low-memory devices
> --------------------------------------------------------------------
>
> Key: PROTON-558
> URL: https://issues.apache.org/jira/browse/PROTON-558
> Project: Qpid Proton
> Issue Type: Improvement
> Components: proton-c
> Affects Versions: 0.6, 0.7
> Reporter: Markus Horstmann
> Assignee: Andrew Stitcher
>
> Embedded devices tend to be memory constrained (i.e. 128KB RAM). The FIELDS
> structure used for protocol logging consumes significant memory. Making it
> optional would help reduce the memory footprint.
--
This message was sent by Atlassian JIRA
(v6.2#6252)