From owner-freebsd-java@FreeBSD.ORG Fri Jun 18 16:14:09 2004 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 3517716A5B0 for ; Fri, 18 Jun 2004 16:14:09 +0000 (GMT) Received: from mgr3.xmission.com (mgr3.xmission.com [198.60.22.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 068C643D4C for ; Fri, 18 Jun 2004 16:14:09 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from [198.60.22.202] (helo=mgr2.xmission.com) by mgr3.xmission.com with esmtp (Exim 4.32) id 1BbM00-0002PI-Se; Fri, 18 Jun 2004 10:13:53 -0600 Received: from [198.60.22.206] (helo=mgr6.xmission.com) by mgr2.xmission.com with esmtp (Exim 3.35 #1) id 1BbM00-0002UQ-02; Fri, 18 Jun 2004 10:13:52 -0600 Received: from [166.70.56.15] (helo=misty.eyesbeyond.com) by mgr6.xmission.com with esmtp (Exim 4.31) id 1BbLzz-0006vn-Rl; Fri, 18 Jun 2004 10:13:52 -0600 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) i5IGDk2R081244; Fri, 18 Jun 2004 10:13:46 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.11/8.12.11/Submit) id i5IGDjsp081243; Fri, 18 Jun 2004 10:13:45 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Fri, 18 Jun 2004 10:13:44 -0600 From: Greg Lewis To: Paul Dlug Message-ID: <20040618161344.GA81161@misty.eyesbeyond.com> References: <09BFCAF4-952D-11D8-822D-000393BB3E22@aps.org> <20040522174956.GA61678@misty.eyesbeyond.com> <40B1AAE7.4020903@noc.ntua.gr> <9AB72474-C13D-11D8-9D52-000393BB3E22@aps.org> Mime-Version: 1.0 Content-Disposition: inline In-Reply-To: <9AB72474-C13D-11D8-9D52-000393BB3E22@aps.org> User-Agent: Mutt/1.4.2.1i Content-Type: text/plain; charset=us-ascii X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on mgr3.xmission.com X-Spam-Level: X-Spam-Status: No, hits=-0.9 required=8.0 tests=BAYES_00,XMShortCap autolearn=no version=2.63 X-SA-Exim-Connect-IP: 198.60.22.202 X-SA-Exim-Mail-From: glewis@eyesbeyond.com X-SA-Exim-Version: 4.0 (built Sat, 24 Apr 2004 12:31:30 +0200) X-SA-Exim-Scanned: Yes (on mgr3.xmission.com) cc: Panagiotis Astithas cc: freebsd-java@freebsd.org Subject: Re: Heap size limit 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: Fri, 18 Jun 2004 16:14:09 -0000 On Fri, Jun 18, 2004 at 11:38:54AM -0400, Paul Dlug wrote: > >Why you can't mmap up to 3 GB of memory, I don't know. Perhaps we > >should take it to -current or -hackers. > > Have you followed up on this? I was wondering if anyone had a solution. > I'd post myself to -current or -hackers but I'm not sure I can > adequately explain the problem. Read the "BUGS" section of the mmap(2) manual page. That gives a pretty good explanation of why you can't mmap(2) more than 2GB at the moment. It looks very much like a "hard" limit too, i.e. you would need some serious hacking to increase the limit, its not a tuneable. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org