From owner-freebsd-java@FreeBSD.ORG Wed Dec 10 05:50:51 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 1EFE916A4CE for ; Wed, 10 Dec 2003 05:50:51 -0800 (PST) Received: from spmler3.mail.eds.com (spmler3.mail.eds.com [194.128.225.186]) by mx1.FreeBSD.org (Postfix) with ESMTP id 302B943D49 for ; Wed, 10 Dec 2003 05:50:26 -0800 (PST) (envelope-from thomas.sparrevohn@eds.com) Received: from spmlir2.mail.eds.com (spmlir2.mail.eds.com [205.191.69.42]) by spmler3.mail.eds.com (8.12.10/8.12.9) with ESMTP id hBADnqdL020283; Wed, 10 Dec 2003 13:49:53 GMT Received: from spmlir2.mail.eds.com (localhost [127.0.0.1]) by spmlir2.mail.eds.com (8.11.6p3/8.11.6) with ESMTP id hBADnqs17166; Wed, 10 Dec 2003 13:49:52 GMT Received: from ukspm103.exemhub.exch.eds.com ([204.230.90.153]) by spmlir2.mail.eds.com (8.11.6p3/8.11.6) with ESMTP id hBADnqS17126; Wed, 10 Dec 2003 13:49:52 GMT Received: by ukspm103 with Internet Mail Service (5.5.2657.72) id ; Wed, 10 Dec 2003 13:49:52 -0000 Message-ID: <2946E9F05C8DD511A7DC0002A5608CE4DB2012@gbchm201.exgb01.exch.eds.com> From: "Sparrevohn, Thomas" To: "'Nicolas Gieczewski'" , freebsd-java@freebsd.org Date: Wed, 10 Dec 2003 13:49:49 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain 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: Wed, 10 Dec 2003 13:50:51 -0000 The real memory usage is much smaller - I would think that it is because it allocated the memory range but never actually uses it. -----Original Message----- From: owner-freebsd-java@freebsd.org [mailto:owner-freebsd-java@freebsd.org] On Behalf Of Nicolas Gieczewski Sent: 09 December 2003 18:13 To: freebsd-java@freebsd.org Subject: Re: How's linux-ibm-jdk14 in the memory footprint department? 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 ----- 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 _______________________________________________ freebsd-java@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-java To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org"