From owner-freebsd-java@FreeBSD.ORG Tue Aug 19 20:36:17 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02260106566B for ; Tue, 19 Aug 2008 20:36:17 +0000 (UTC) (envelope-from he@uninett.no) Received: from smistad.uninett.no (smistad.uninett.no [IPv6:2001:700:1:0:211:9ff:fe8c:7386]) by mx1.freebsd.org (Postfix) with ESMTP id 7B99F8FC16 for ; Tue, 19 Aug 2008 20:36:16 +0000 (UTC) (envelope-from he@uninett.no) Received: from smistad.uninett.no (smistad.uninett.no [158.38.62.77]) by smistad.uninett.no (Postfix) with ESMTP id 28F1121DC43; Tue, 19 Aug 2008 22:36:14 +0200 (CEST) Date: Tue, 19 Aug 2008 22:36:14 +0200 (CEST) Message-Id: <20080819.223614.66313564.he@uninett.no> To: kjkoster@kjkoster.org From: Havard Eidnes In-Reply-To: <3CD88297-2C6A-4E1C-A114-002599898B91@kjkoster.org> References: <48AA6E00.7040408@irfu.se> <728977D1-FDFA-495B-80D3-D9D060FA5082@mac.com> <3CD88297-2C6A-4E1C-A114-002599898B91@kjkoster.org> X-Mailer: Mew version 5.2 on Emacs 22.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-java@freebsd.org, shark.fin.soup@mac.com Subject: Re: Why cannot I allocate more than -Xmx700M X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Aug 2008 20:36:17 -0000 > > I think I was 1 GIG of physical ram. I am getting service in for my= = > > machine now. > > Strange. I have a box with 768MB RAM and it will happily allocate 1GB= = > for a JVM. That is, I can run "Hello World" -Xmx1G and -Xmx1000M just= = > fine. Surely, what matters is not the amount of physical ram in the box (although "more is better" is a good rule of thumb :-), but the total amount of virtual memory? I.e. the amount of configured swap space also enters into the equation. Regards, - H=E5vard