release and debug mode heap allocation

Aleix Conchillo Flaqué aconchillo at ieec.cat
Tue May 27 14:49:43 UTC 2008


On Tue, May 27, 2008 at 4:19 PM, Joel Sherrill
<joel.sherrill at oarcorp.com> wrote:
>
> Unfortunately in 4.6, the macro isn't clearly named.
> You have to use CONFIGURE_MEMORY_OVERHEAD which
> has one added to it and then multiplied by 1024 in
> 4.6.  So there is 1 kilobyte of overhead in 4.6. :(
>
> In 4.8 and newew, 1 is not added to it so there isn't the 1 kb
> overhead.  And 4.8 and newer have the much more appropriately
> named CONFIGURE_MESSAGE_BUFFER_MEMORY which is in bytes.
>
> This just points out how we have worked to be more accurate
> and frugal and at the same time make things clearer.
>

That's great. I have tried it and seems to work fine (even I had to
add more memory than I thought). Now I can have proper confdefs.h
values.

Thank you very much.

Aleix



More information about the users mailing list