From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8426 invoked by alias); 22 Jan 2011 21:53:35 -0000 Received: (qmail 8418 invoked by uid 22791); 22 Jan 2011 21:53:34 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from ka.mail.enyo.de (HELO ka.mail.enyo.de) (87.106.162.201) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 22 Jan 2011 21:53:21 +0000 Received: from [172.17.135.4] (helo=deneb.enyo.de) by ka.mail.enyo.de with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) id 1PglOT-0001K9-KV; Sat, 22 Jan 2011 22:53:13 +0100 Received: from fw by deneb.enyo.de with local (Exim 4.72) (envelope-from ) id 1PglOT-0006TG-CB; Sat, 22 Jan 2011 22:53:13 +0100 From: Florian Weimer To: "Ben Keppler" Cc: "David Daney" , Subject: Re: FW: Garbage collection issues in GCJ References: <3C7F46E08E936B478463BFFA776CDAD30168E7F7@tmsmail.domain2.local> <4D347D2D.4010101@caviumnetworks.com> <3C7F46E08E936B478463BFFA776CDAD30168E8CA@tmsmail.domain2.local> Date: Sat, 22 Jan 2011 21:53:00 -0000 In-Reply-To: <3C7F46E08E936B478463BFFA776CDAD30168E8CA@tmsmail.domain2.local> (Ben Keppler's message of "Mon, 17 Jan 2011 13:56:44 -0500") Message-ID: <87pqro7ghi.fsf@mid.deneb.enyo.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes Mailing-List: contact java-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-owner@gcc.gnu.org X-SW-Source: 2011-01/txt/msg00015.txt.bz2 * Ben Keppler: > Thanks for your response. We have been unable to find documentation > detailing how to change the GC configuration including knobs for setting > the max heap size. GCJ allocates as much memory as your application needs. I think what David meant was that you should change your application to put less data into the Java heap (either by using the C heap, or by splitting it into multiple processes).