From owner-freebsd-questions@FreeBSD.ORG Mon Apr 3 15:14:33 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 17B9F16A42C for ; Mon, 3 Apr 2006 15:14:33 +0000 (UTC) (envelope-from jon.brisbin@npcinternational.com) Received: from mail1.npci.com (mail.npcinternational.com [63.76.154.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 58DEE43D46 for ; Mon, 3 Apr 2006 15:14:20 +0000 (GMT) (envelope-from jon.brisbin@npcinternational.com) Received: from [172.16.10.124] ([172.16.10.124]) by mail1.npci.com (MOS 3.5.9-GR) with ESMTP id CAS51938 (AUTH via LOGINBEFORESMTP); Mon, 3 Apr 2006 10:14:05 -0500 (CDT) Message-ID: <44313BC2.6050901@npcinternational.com> Date: Mon, 03 Apr 2006 10:14:10 -0500 From: Jon Brisbin User-Agent: Thunderbird 1.5 (Macintosh/20051201) MIME-Version: 1.0 References: <0B538C86-FFCD-4AE4-A3A4-D5A2990AFEAA@veldt.com> <200604021536.12424.mistry.7@osu.edu> In-Reply-To: <200604021536.12424.mistry.7@osu.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org, "james g." Subject: Re: jdk15 on 6.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Apr 2006 15:14:33 -0000 Anish Mistry wrote: > > You could always just to do a "make package" on another machine with > 6.0 and then just pkg_add on your older system. > > This is what I did when I installed JDK 1.5 on our BSD boxes. It sounds like, with so little physical RAM, that the JVM is only allocating a very small percentage of that to the JVM that starts up when the build gets bootstrapped. The jvmg probably needs to be manually set using an -Xms/-Xmx value that will give it enough room to work with. To the JVM, swap space isn't the same as physical RAM. I have had problems running java applications that have to swap. With Java, physical RAM is crucial. If you could even put at least 512MB in that box just for the build, then take it out to run it, you would probably succeed. Barring that, you're next best bet is probably going to be building it on another box, then doing a pkg_add. -- Thanks! Jon Brisbin Webmaster NPC International, Inc.