From owner-freebsd-java@FreeBSD.ORG Tue Dec 9 10:12:37 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1426716A4CE for ; Tue, 9 Dec 2003 10:12:37 -0800 (PST) Received: from mail.remarkablehost.com (ns1.remarkablehost.com [208.186.168.9]) by mx1.FreeBSD.org (Postfix) with SMTP id C5BD243D2F for ; Tue, 9 Dec 2003 10:12:34 -0800 (PST) (envelope-from foo@bar.org) Received: (qmail 26303 invoked by uid 110); 9 Dec 2003 18:12:34 -0000 Received: from unknown (HELO ash) (200.82.85.47) by ns1.remarkablehost.com with SMTP; 9 Dec 2003 18:12:34 -0000 Message-ID: <006a01c3be80$27f22da0$0200a8c0@veggy.org> From: "Nicolas Gieczewski" To: References: <005301c3be64$cb8369a0$0200a8c0@veggy.org> <118802433781.20031209170145@buz.ch> Date: Tue, 9 Dec 2003 15:12:55 -0300 Organization: Nix Software Solutions [www.nixsoftware.com] MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4927.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 Subject: Re: How's linux-ibm-jdk14 in the memory footprint department? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Dec 2003 18:12:37 -0000 Hello Gabriel, Thank you for your response. I doubt it's the GC, for memory usage jumps = to those values right after the VM starts, i.e. when there's not much to = garbage collect yet. Also, it says around those figures for the rest of = the program's lifetime. This is a console application, by the way. What I'd like to know is whether IBM's implementation of the JVM happens = to use a little less memory. I think 203 MB is too much for a console = application, and that box only has 64 MB of RAM. I did install = linux-ibm-jdk14 to check this myself, but found out it requires the = USER_LDT setting in the kernel, and I can't reboot because of a stupid = setting since I'm running important services on the box. Any linux-ibm-jdk14 fans out there? Thanks, Nick ----- Original Message -----=20 From: "Gabriel Ambuehl" Cc: Sent: Tuesday, December 09, 2003 13:01 Subject: Re: How's linux-ibm-jdk14 in the memory footprint department? Hello Nicolas, Tuesday, December 9, 2003, 3:57:10 PM, you wrote: > Hello, > Sun's VM eats up ~203 MB of memory to run a small program on my > FreeBSD box, whereas on Windows it only uses ~23 MB. Besides not > understanding how the difference can be so big, I wonder if anyone > has tried linux-ibm-jdk14? Is it a memory hog like Sun's? Are you sure this isn't just some Garbage collector behaving differently? Best regards, Gabriel