From owner-freebsd-java@FreeBSD.ORG Fri Apr 23 06:49:30 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 2AC5816A4CE for ; Fri, 23 Apr 2004 06:49:30 -0700 (PDT) Received: from mail2.ridge.aps.org (mail2.ridge.aps.org [149.28.9.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8995443D62 for ; Fri, 23 Apr 2004 06:49:29 -0700 (PDT) (envelope-from paul@aps.org) Received: from [149.28.3.185] (jaguar.aps.org [149.28.3.185]) by mail2.ridge.aps.org (8.12.9/8.12.9) with ESMTP id i3NDnR4p045300 for ; Fri, 23 Apr 2004 09:49:28 -0400 (EDT) (envelope-from paul@aps.org) Mime-Version: 1.0 (Apple Message framework v613) Content-Transfer-Encoding: 7bit Message-Id: <09BFCAF4-952D-11D8-822D-000393BB3E22@aps.org> Content-Type: text/plain; charset=US-ASCII; format=flowed To: freebsd-java@freebsd.org From: Paul Dlug Date: Fri, 23 Apr 2004 09:49:27 -0400 X-Mailer: Apple Mail (2.613) X-Spam-Score: -4.901 () BAYES_00 X-Scanned-By: MIMEDefang 2.38 Subject: 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, 23 Apr 2004 13:49:30 -0000 I'm trying to start a JVM with a large heap size and getting an error message: java -Xms256m -Xmx2024m Error occurred during initialization of VM Could not reserve enough space for object heap I tried a bunch of different sizes and anything under 2024m works just fine so this appears to be a hard limit. I've tried changing a few system parameters but can't seem to stumble on the right one. Can someone help me out with this? Thanks, Paul