[ https://issues.apache.org/jira/browse/YARN-7936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gour Saha updated YARN-7936: ---------------------------- Description: We were seeing issues in the Service AM where memory usage would go beyond 1gb and AM container would get killed due to pmem check. We were not setting Xmx explicitly and hence it was getting defaulted to 32gb (based on the java version we were using and the available memory in the host). Hence even minor GC cycles were not kicking in and taking the usage beyond 1gb. We need to default Xmx to a reasonable value, ofcourse allowing it to be overridden by the service owner. was:We were seeing issues in the Service AM where memory usage would go beyond 1gb and AM container would get killed due to pmem check. We were not setting Xmx explicitly and hence it was getting defaulted to 32gb (based on the java version we were using and the available memory in the host). Hence even minor GC cycles were not kicking in and taking the usage beyond 1gb. > Add default service AM Xmx > -------------------------- > > Key: YARN-7936 > URL: https://issues.apache.org/jira/browse/YARN-7936 > Project: Hadoop YARN > Issue Type: Sub-task > Reporter: Jian He > Assignee: Jian He > Priority: Major > Attachments: YARN-7936.1.patch > > > We were seeing issues in the Service AM where memory usage would go beyond > 1gb and AM container would get killed due to pmem check. We were not setting > Xmx explicitly and hence it was getting defaulted to 32gb (based on the java > version we were using and the available memory in the host). Hence even minor > GC cycles were not kicking in and taking the usage beyond 1gb. > We need to default Xmx to a reasonable value, ofcourse allowing it to be > overridden by the service owner. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org