From owner-freebsd-java@FreeBSD.ORG Tue Aug 19 02:46:59 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 05FDA106566C for ; Tue, 19 Aug 2008 02:46:59 +0000 (UTC) (envelope-from shark.fin.soup@mac.com) Received: from asmtpout022.mac.com (asmtpout022.mac.com [17.148.16.97]) by mx1.freebsd.org (Postfix) with ESMTP id E89A18FC1A for ; Tue, 19 Aug 2008 02:46:58 +0000 (UTC) (envelope-from shark.fin.soup@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from [192.168.1.121] ([210.213.5.122]) by asmtp022.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0K5T00L7JUE6L680@asmtp022.mac.com> for freebsd-java@freebsd.org; Mon, 18 Aug 2008 19:46:58 -0700 (PDT) Message-id: <6E041876-88CC-45CB-9739-C3EB5686EEF5@mac.com> From: Sharkie To: freebsd-java@freebsd.org In-reply-to: Date: Tue, 19 Aug 2008 09:45:03 +0700 References: <2849C2B9-6990-4F51-A430-06E99D745816@mac.com> <97C57C69-1708-4176-86BC-E2B733BF0ACA@kjkoster.org> <7B413A97-AC11-4FD4-9BD5-40CC21593488@mac.com> X-Mailer: Apple Mail (2.919.2) 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: Tue, 19 Aug 2008 02:46:59 -0000 %limit cputime unlimited filesize unlimited datasize 2097152 kbytes stacksize 262144 kbytes coredumpsize unlimited memoryuse unlimited vmemoryuse unlimited descriptors 11095 memorylocked unlimited maxproc 5547 sbsize unlimited %cat loader.conf kern.maxdsiz="2G" kern.dfldsiz="2G" kern.maxssiz="256M" geom_mirror_load="YES" My other apps have no problem allocating greater than that. On Aug 19, 2008, at 3:04 AM, Nicklas Johnson wrote: > 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/ > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java- > unsubscribe@freebsd.org"