Date: Sun, 13 Dec 2015 06:22:42 +0100 From: Matthias Apitz <guru@unixarea.de> To: Kurt Jaeger <lists@opsec.eu> 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> In-Reply-To: <20151212213834.GM35480@home.opsec.eu> References: <20151212190117.GA2023@c720-r285885-amd64> <20151212213834.GM35480@home.opsec.eu>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20151213052242.GA1893>