samza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kleppmann <>
Subject Re: Adjust heap size according to memory allocated to containers
Date Mon, 30 Jun 2014 16:54:21 GMT
Hi Casey,

You can set the heap size with the task.opts setting in your job configuration:

You'll also need to set yarn.container.memory.mb correspondingly:


On 30 Jun 2014, at 12:05, Anh Thu Vu <> wrote:

> Hi guys,
> If I'm not wrong, the heap size is 768MB by default (default value in
> and if I want to change that I can either export the
> JAVA_OPTS var on all my machines or change the default value in the
> But IMO, both options are not optimal and I think it's best that this value
> can be set to something like: 0.75*(memory allocation for the container)
> What do you think? Is there currently an "easy" way to achieve something
> like that?
> Casey

View raw message