Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 09F6518E25 for ; Wed, 12 Aug 2015 13:09:46 +0000 (UTC) Received: (qmail 34281 invoked by uid 500); 12 Aug 2015 13:09:45 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 34242 invoked by uid 500); 12 Aug 2015 13:09:45 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 34231 invoked by uid 99); 12 Aug 2015 13:09:45 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Aug 2015 13:09:45 +0000 Date: Wed, 12 Aug 2015 13:09:45 +0000 (UTC) From: "Artem Baranchuk (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (AMBARI-12741) AMS Collector process takes way more Virtual memory than Xmx setting MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Artem Baranchuk created AMBARI-12741: ---------------------------------------- Summary: AMS Collector process takes way more Virtual memory than Xmx setting Key: AMBARI-12741 URL: https://issues.apache.org/jira/browse/AMBARI-12741 Project: Ambari Issue Type: Task Components: ambari-metrics Affects Versions: 2.1.2 Reporter: Artem Baranchuk Assignee: Artem Baranchuk Priority: Critical Fix For: 2.1.2 Ambari Metrics Collector grabs almost whole free memory for VSZ just after start. {noformat} free -g total used free shared buffers cached Mem: 29 14 15 0 0 4 {noformat} As you can see free mem is 15GB AMS Collector process: {noformat} ps -u -p 15921 | awk '{print $0}' USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND ams 25954 4.9 7.0 13782216 2167184 ? Sl 14:00 1:26 /usr/jdk64/jdk1.8.0_40/bin/java -Djava.library.path=/usr/lib/ams-hbase/lib/hadoop-native -Xmx512m -cp /usr/lib/ambari-metrics-collector/*:/etc/ambari-metrics-collector/conf -Djava.net.preferIPv4Stack=true -Dams.log.dir=/var/log/ambari-metrics-collector -Dproc_timelineserver org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryServer {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)