You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by Edward Sargisson <es...@pobox.com> on 2013/06/07 21:07:35 UTC

Review Request: FLUME-2075: Flume now allows max heap size to be overriden

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/11714/
-----------------------------------------------------------

Review request for Flume.


Description
-------

Flume has a default heap of 20m which sometimes appears to need to be larger. This patch allows that by users passing -Xmx<max heap size> exactly as for the JVM.


Diffs
-----

  bin/flume-ng 22b95b8 

Diff: https://reviews.apache.org/r/11714/diff/


Testing
-------

Runs correctly in my test environment.ps output shows that java has the correct parameter. jmap -heap show the correct MaxHeapSize.


Thanks,

Edward Sargisson


Re: Review Request 11714: FLUME-2075: Flume now allows max heap size to be overriden

Posted by Alexander Alten-Lorenz <al...@cloudera.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/11714/#review23341
-----------------------------------------------------------


The heap size  will be set per conf/flume-env.sh(template):

JAVA_OPTS="-Xms100m -Xmx200m -Dcom.sun.management.jmxremote


- Alexander Alten-Lorenz


On June 7, 2013, 7:07 p.m., Edward Sargisson wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/11714/
> -----------------------------------------------------------
> 
> (Updated June 7, 2013, 7:07 p.m.)
> 
> 
> Review request for Flume.
> 
> 
> Repository: flume-git
> 
> 
> Description
> -------
> 
> Flume has a default heap of 20m which sometimes appears to need to be larger. This patch allows that by users passing -Xmx<max heap size> exactly as for the JVM.
> 
> 
> Diffs
> -----
> 
>   bin/flume-ng 22b95b8 
> 
> Diff: https://reviews.apache.org/r/11714/diff/
> 
> 
> Testing
> -------
> 
> Runs correctly in my test environment.ps output shows that java has the correct parameter. jmap -heap show the correct MaxHeapSize.
> 
> 
> Thanks,
> 
> Edward Sargisson
> 
>