[openamq-dev] Tuning

Pieter Hintjens ph at imatix.com
Thu Oct 25 10:36:24 CEST 2007


On 10/25/07, R Hayes <rfhayes at reillyhayes.com> wrote:

> If OpenAMQ is doing any fancy memory management (to avoid malloc),
> you might consider turning it off.  In many cases, tcmalloc is faster
> than home grown schemes for memory recycling.  It *does* have a
> cost.  A program using tcmalloc will never return memory to the O/S.

In fact we do have our own home-grown schemes for memory recycling,
but these are designed for reliability (tracing and debugging and
especially memory leaks) rather than performance.  Up to now malloc
has always been faster than our own memory management layers but of
course unhelpful in detecting memory leaks or reporting memory
overwrites.

OpenAMQ builds with these in debug mode, and without them in release mode afair.

-- 
This email may contain documents in ISO26300 format (ODF).  ODF is
portable to Windows, Mac, and Linux and is widely supported.  Go to
http://www.ODFworks.com for more information and free downloads.


More information about the openamq-dev mailing list