Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 73483 invoked from network); 6 Feb 2007 14:29:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Feb 2007 14:29:50 -0000 Received: (qmail 45042 invoked by uid 500); 6 Feb 2007 14:29:54 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 44951 invoked by uid 500); 6 Feb 2007 14:29:53 -0000 Mailing-List: contact dev-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list dev@harmony.apache.org Received: (qmail 44942 invoked by uid 99); 6 Feb 2007 14:29:53 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Feb 2007 06:29:53 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [66.98.194.3] (HELO cpanel.interactivedns.com) (66.98.194.3) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Feb 2007 06:29:43 -0800 Received: from [220.225.68.161] (helo=[192.168.11.12]) by cpanel.interactivedns.com with esmtpa (Exim 4.63) (envelope-from ) id 1HERJs-0005ev-C9 for dev@harmony.apache.org; Tue, 06 Feb 2007 19:59:17 +0530 Message-ID: <45C890E5.2070302@omniscientweb.com> Date: Tue, 06 Feb 2007 19:59:57 +0530 From: Kalpak Gadre Reply-To: kalpak_gadre@omniscientweb.com Organization: Omniscient Software User-Agent: Thunderbird 2.0b1 (X11/20061206) MIME-Version: 1.0 To: dev@harmony.apache.org Subject: [general] memory usage and default Xmx Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel.interactivedns.com X-AntiAbuse: Original Domain - harmony.apache.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - omniscientweb.com X-Source: X-Source-Args: X-Source-Dir: X-Virus-Checked: Checked by ClamAV on apache.org Hi, When I tried running eclipse with harmony, I found out that the default Xmx value is set to 256M Is there any specific reason why this is set so high? Because it may lead to impression of hdk being a memory hogger. I have 512M RAM and my eclipse started taking up 256M memory from start. Which made me feel hdk was a memory hogger. 1. Can we not set it by default to some lower value (like sun sets it to 64M), and when you need it to be high, you can always override the default Xmx. 2. I also experienced that whatever Xmx I set, eclipse would start with heap size of Xmx. (utilising the maximum alloted heap size) 3. I specified -Xmx as 128M and the heap size showed 128M but process memory usage exceeded 280M. Thanks, Kalpak