From owner-freebsd-java@FreeBSD.ORG Mon Aug 18 20:04:39 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 6EEEC106567D for ; Mon, 18 Aug 2008 20:04:39 +0000 (UTC) (envelope-from spatula@spatula.net) Received: from gv-out-0910.google.com (gv-out-0910.google.com [216.239.58.188]) by mx1.freebsd.org (Postfix) with ESMTP id 00F008FC0A for ; Mon, 18 Aug 2008 20:04:38 +0000 (UTC) (envelope-from spatula@spatula.net) Received: by gv-out-0910.google.com with SMTP id n8so545868gve.39 for ; Mon, 18 Aug 2008 13:04:37 -0700 (PDT) Received: by 10.103.176.2 with SMTP id d2mr4191330mup.134.1219089877460; Mon, 18 Aug 2008 13:04:37 -0700 (PDT) Received: by 10.102.253.7 with HTTP; Mon, 18 Aug 2008 13:04:37 -0700 (PDT) Message-ID: Date: Mon, 18 Aug 2008 13:04:37 -0700 From: "Nicklas Johnson" Sender: spatula@spatula.net To: Sharkie In-Reply-To: <7B413A97-AC11-4FD4-9BD5-40CC21593488@mac.com> MIME-Version: 1.0 References: <2849C2B9-6990-4F51-A430-06E99D745816@mac.com> <97C57C69-1708-4176-86BC-E2B733BF0ACA@kjkoster.org> <7B413A97-AC11-4FD4-9BD5-40CC21593488@mac.com> X-Google-Sender-Auth: 9d0183ec78732e51 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-java@freebsd.org 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: Mon, 18 Aug 2008 20:04:39 -0000 Can you start ANY program in your environment that needs to allocate larger than a 700MB heap, or with a total process of a size greater than about 1000MB (accounting for the size of the JVM itself)? Does "limits" say anything interesting about datasize? Nick 2008/8/18 Sharkie > It's very odd that I have been getting this error. > > %/usr/local/jruby/bin/jruby -J-Xmx1000M --server > /usr/local/bin/glassfish_rails /home/www/app > Error occurred during initialization of VM > Could not reserve enough space for object heap > > -- "Courage isn't just a matter of not being frightened, you know. It's being afraid and doing what you have to do anyway." -- Doctor Who - Planet of the Daleks This message has been brought to you by Nick Johnson 2.3b1 and the number 6. http://healerNick.com/ http://morons.org/ http://spatula.net/