We will give it a try and let you know.. Thanks
Dave From: Rafael Schloming-3 [via Qpid] [mailto:[email protected]] Sent: Monday, May 12, 2014 4:04 PM To: Johnson, David (MN10) Subject: Re: Minimizing the Proton Engine/Messenger RAM Footprint for embedded devices I've checked in a few easy tweaks that should help some of the worst offenders in your list. I don't know close it will get you to your goal, but it would be helpful if you could rerun your test against the latest code on trunk. --Rafael On Fri, May 9, 2014 at 11:41 AM, dcjohns41 <[hidden email]</user/SendEmail.jtp?type=node&node=7608057&i=0>>wrote: > Thanks for the various suggestions on capturing the memory allocation. We > started the process and have found several areas that seem to be large RAM > users. Proton-C_MemoryAllocation.xlsx > < > http://qpid.2158936.n2.nabble.com/file/n7607980/Proton-C_MemoryAllocation.xlsx > > > > The attached file is a list of the main startup allocation. In the > rightmost column, we have highlighted any allocation that is larger in size > in red. As you can see there are several 16KByte chunks of RAM allocated > (object.c /pni_map_allocate) as well as multiple 960 byte chunks(over 24 > occurrences for approx. 24Kbytes)(pn_data.c). Also the pn_buffer and > pn_dispatcher functions each allocate 4Kbytes. This exceeded 75Kbytes > prior > to our system being able to attempt communication setup. > > So this drives a few questions as to being able to minimize these > allocations. The multiple 960 byte allocations and the 32Kbyte allocations > seem to be the big hitters. > > Any hints from the mailing list on reducing these structures? > > Dave > > > > -- > View this message in context: > http://qpid.2158936.n2.nabble.com/Minimizing-the-Proton-Engine-Messenger-RAM-Footprint-for-embedded-devices-tp7607409p7607980.html > Sent from the Apache Qpid Proton mailing list archive at Nabble.com. > ________________________________ If you reply to this email, your message will be added to the discussion below: http://qpid.2158936.n2.nabble.com/Minimizing-the-Proton-Engine-Messenger-RAM-Footprint-for-embedded-devices-tp7607409p7608057.html To unsubscribe from Minimizing the Proton Engine/Messenger RAM Footprint for embedded devices, click here<http://qpid.2158936.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=7607409&code=ZGF2aWQuam9obnNvbjNAaG9uZXl3ZWxsLmNvbXw3NjA3NDA5fDIwNzc4NzgwMTA=>. NAML<http://qpid.2158936.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> -- View this message in context: http://qpid.2158936.n2.nabble.com/Minimizing-the-Proton-Engine-Messenger-RAM-Footprint-for-embedded-devices-tp7607409p7608058.html Sent from the Apache Qpid Proton mailing list archive at Nabble.com.
