From owner-freebsd-java@freebsd.org Sun Dec 13 05:22:49 2015 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9F181A42555; Sun, 13 Dec 2015 05:22:49 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 639AB1A47; Sun, 13 Dec 2015 05:22:48 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [93.104.12.25] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1a7z7L-0007SI-QG; Sun, 13 Dec 2015 06:22:44 +0100 Received: from localhost.my.domain (c720-r285885-amd64 [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id tBD5MhBw001923 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 13 Dec 2015 06:22:43 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id tBD5Mgfx001922; Sun, 13 Dec 2015 06:22:42 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Sun, 13 Dec 2015 06:22:42 +0100 From: Matthias Apitz To: Kurt Jaeger Cc: freebsd-ports@freebsd.org, freebsd-java@freebsd.org, ljboiler@gmail.com Subject: Re: java/eclipse (eclipse-4.5.1) does not build on 11-CURRENT amd64 Message-ID: <20151213052242.GA1893@c720-r285885-amd64> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , Kurt Jaeger , freebsd-ports@freebsd.org, freebsd-java@freebsd.org, ljboiler@gmail.com References: <20151212190117.GA2023@c720-r285885-amd64> <20151212213834.GM35480@home.opsec.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20151212213834.GM35480@home.opsec.eu> X-Operating-System: FreeBSD 11.0-CURRENT r285885 (amd64) User-Agent: Mutt/1.5.23 (2014-03-12) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 93.104.12.25 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Dec 2015 05:22:49 -0000 El día Saturday, December 12, 2015 a las 10:38:34PM +0100, Kurt Jaeger escribió: > Hi! > > > The port java/eclipse (from head in ports) does not build on amd64; it > > fails with the message of the VM: > > > > ===> Building for eclipse-4.5.1 > > Error occurred during initialization of VM > > Could not allocate metaspace: 1073741824 bytes > > > > The full log is attached (I deleted only the depency messages). > > > > Any idea how to build it within poudriere? > > You probably need more RAM. I've build it in poudriere (with 11-cur-amd64) > when I test-build it. I have not measured how much it needs, but the box > I tested on has 32 GB of RAM and 36 GB of swap. Hi, I do not think that this is (at the moment) some bare metal resource issue. I monitored in separate xterms with top the used memeory (most of it only 'inactive', some megabytes free, swap unused) and a tail -f of the ports build log file; the three messages ===> Building for eclipse-4.5.1 Error occurred during initialization of VM Could not allocate metaspace: 1073741824 bytes coming out in the same second, i.e. the VM have not hat time to fill memory; surely it calculated somehow it needs and came to the conclusion, that it was not enough what the system provideds in its configuration, i.e. this is either a config issue of the kernel or of the JVM. > I can provide a build log if it helps ? Yes, please do so (off list, or put it somewhere where I could fetch it); thanks. matthias -- Matthias Apitz, ✉ guru@unixarea.de, 🌐 http://www.unixarea.de/ ☎ +49-176-38902045