From owner-freebsd-java@FreeBSD.ORG Wed Aug 20 04:13:45 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 96B0E106564A for ; Wed, 20 Aug 2008 04:13:45 +0000 (UTC) (envelope-from shark.fin.soup@mac.com) Received: from asmtpout018.mac.com (asmtpout018.mac.com [17.148.16.93]) by mx1.freebsd.org (Postfix) with ESMTP id 810048FC14 for ; Wed, 20 Aug 2008 04:13:45 +0000 (UTC) (envelope-from shark.fin.soup@mac.com) MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Received: from [192.168.1.121] ([210.213.5.122]) by asmtp018.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0K5V009PLT2TCF20@asmtp018.mac.com> for freebsd-java@freebsd.org; Tue, 19 Aug 2008 21:13:45 -0700 (PDT) Message-id: From: Sharkie To: freebsd-java@freebsd.org In-reply-to: <20080819.223614.66313564.he@uninett.no> Content-transfer-encoding: quoted-printable Date: Wed, 20 Aug 2008 11:11:50 +0700 References: <48AA6E00.7040408@irfu.se> <728977D1-FDFA-495B-80D3-D9D060FA5082@mac.com> <3CD88297-2C6A-4E1C-A114-002599898B91@kjkoster.org> <20080819.223614.66313564.he@uninett.no> X-Mailer: Apple Mail (2.919.2) Cc: Kees Jan Koster , Havard Eidnes 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: Wed, 20 Aug 2008 04:13:45 -0000 Well, now it's now really interesting. I made a typo in my previous post. Basically I have a 4GIG machine. But somehow I lost 1GIG and now have only 3. I am getting serviced =20 this Friday so will find out. That aside, I have 16GIG of SWAPSPACE, and 3GIG of actual RAM. I am still unable to allocate more than -Xmx700M FreeBSD or JAVA is not tapping into my swapspace? How do I check this =20= out? On Aug 20, 2008, at 3:36 AM, Havard Eidnes wrote: >>> 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 > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-=20 > unsubscribe@freebsd.org"