Thank you for your explanation. And thank you for heka in general :).

On Tue, Oct 20, 2015 at 8:52 PM, Rob Miller <[email protected]> wrote:

> On 10/20/2015 12:46 AM, Cristian Falcas wrote:
>
>> Hello,
>>
>> Is there a correlation between max_message_size and heka memory usage?
>>
> Yes, alas, Heka pre-allocates pools of messages.
>
>> We set max_message_size to 1MB and at startup heka consumes around 2.5GB
>> of RAM. This seems pretty high for us.
>>
> If you really need your messages to be that big you can lower total memory
> usage by setting the global `poolsize` config setting to something lower
> than the default of 100. You'll also want to lower the plugin_chansize. Try
> `poolsize = 40` and `plugin_chansize = 10` and see how that works out for
> you.
>
> -r
>
>
_______________________________________________
Heka mailing list
[email protected]
https://mail.mozilla.org/listinfo/heka

Reply via email to