From owner-freebsd-java@FreeBSD.ORG Wed Aug 20 18:28:28 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 98A07106567F for ; Wed, 20 Aug 2008 18:28:28 +0000 (UTC) (envelope-from kjkoster@kjkoster.org) Received: from www.kjkoster.org (kjkoster.org [80.101.182.197]) by mx1.freebsd.org (Postfix) with ESMTP id 3061A8FC23 for ; Wed, 20 Aug 2008 18:28:27 +0000 (UTC) (envelope-from kjkoster@kjkoster.org) Received: from [192.168.0.1] (mac [192.168.0.1]) by www.kjkoster.org (8.14.2/8.14.2) with ESMTP id m7KISKVU096984; Wed, 20 Aug 2008 20:28:27 +0200 (CEST) (envelope-from kjkoster@kjkoster.org) Message-Id: <661CDCCF-AD3C-49AE-8E7D-7B0D4A29512D@kjkoster.org> From: Kees Jan Koster To: Sharkie , freebsd-java@freebsd.org In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v928.1) Date: Wed, 20 Aug 2008 11:59:14 +0200 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.928.1) Cc: 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 18:28:28 -0000 Dear Sharkie, > 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 > this Friday so will find out. Uhm... You lost it? I know there is a problem with the intel architecture that the PCI address space is placed in the upper parts of the 4GB memory space, so if you have 4GB ram, only 3 is visible to the machine as actual memory. The rest is PCI. I have 4GB in my macbook pro and I have 3GB available to the OS. > 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 out? What version of Java are you using? Linux/sun or native port? I tried on a machine with 2GB physical RAM and one with 768MB of RAM and both let me allocate 1GB (-Xmx1G) just fine, buy not 2GB (-Xmx2G). This is using the native FreeBSD Java 1.6.0 port. -- Kees Jan http://java-monitor.com/forum/ kjkoster@kjkoster.org 06-51838192 Human beings make life so interesting. Do you know that in a universe so full of wonders, they have managed to invent boredom. Quite astonishing... -- Terry Partchett