You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Hari Shreedharan (JIRA)" <ji...@apache.org> on 2013/06/07 23:32:20 UTC

[jira] [Commented] (FLUME-2075) Flume agents should be able to have custom max heap sizes set

    [ https://issues.apache.org/jira/browse/FLUME-2075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13678459#comment-13678459 ] 

Hari Shreedharan commented on FLUME-2075:
-----------------------------------------

[~ejsarge] This can already be done by setting JAVA_OPTS in flume-env.sh, so I don't really think it is necessary to pass this in via command line separately. Is there a reason the flume-env.sh option does not fit your use-case?
                
> Flume agents should be able to have custom max heap sizes set
> -------------------------------------------------------------
>
>                 Key: FLUME-2075
>                 URL: https://issues.apache.org/jira/browse/FLUME-2075
>             Project: Flume
>          Issue Type: Bug
>    Affects Versions: v1.4.0, v1.3.1
>            Reporter: Edward Sargisson
>         Attachments: FLUME-2075.patch
>
>
> Flume's default max heap size is 20MB. I have seen situations which make me believe that this is too small in some applications. However there is no way to override it short of editing bin/flume-ng.
> With this patch, the max heap size can be set with -Xmx just as if it a JVM.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira