You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Patrick Hunt (JIRA)" <ji...@apache.org> on 2013/10/01 01:08:24 UTC

[jira] [Commented] (ZOOKEEPER-1670) zookeeper should set a default value for SERVER_JVMFLAGS and CLIENT_JVMFLAGS so that memory usage is controlled

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

Patrick Hunt commented on ZOOKEEPER-1670:
-----------------------------------------

Reverting from 3.4 and keeping in trunk is good for me. Thanks!

> zookeeper should set a default value for SERVER_JVMFLAGS and CLIENT_JVMFLAGS so that memory usage is controlled
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-1670
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1670
>             Project: ZooKeeper
>          Issue Type: Bug
>    Affects Versions: 3.4.5
>            Reporter: Arpit Gupta
>            Assignee: Flavio Junqueira
>             Fix For: 3.5.0, 3.4.6
>
>         Attachments: ZOOKEEPER-1670.patch, ZOOKEEPER-1670.patch, ZOOKEEPER-1670.patch, ZOOKEEPER-1670.patch, ZOOKEEPER-1670.patch
>
>
> We noticed this with jdk 1.6 where if no heap size is set the process takes up to 1/4 of mem available on the machine.
> More info http://stackoverflow.com/questions/3428251/is-there-a-default-xmx-setting-for-java-1-5
> You can run the following command to see what are the defaults for your machine
> {code}
> java -XX:+PrintFlagsFinal -version 2>&1 | grep -i -E 'heapsize|permsize|version'
> {code}
> And we noticed on two different class of machines that this was 1/4th of total memory on the machine.



--
This message was sent by Atlassian JIRA
(v6.1#6144)