Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Dec 2015 09:16:58 +0100
From:      Matthias Apitz <guru@unixarea.de>
To:        freebsd-ports@freebsd.org, freebsd-java@freebsd.org
Cc:        Kurt Jaeger <lists@opsec.eu>, ljboiler@gmail.com
Subject:   Re: java/eclipse (eclipse-4.5.1) does not build on 11-CURRENT amd64
Message-ID:  <20151213081658.GA2376@c720-r285885-amd64>
In-Reply-To: <20151213052242.GA1893@c720-r285885-amd64>
References:  <20151212190117.GA2023@c720-r285885-amd64> <20151212213834.GM35480@home.opsec.eu> <20151213052242.GA1893@c720-r285885-amd64>

next in thread | previous in thread | raw e-mail | index | archive | help
El día Sunday, December 13, 2015 a las 06:22:42AM +0100, Matthias Apitz escribió:

> 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

There was a memory limitation set for poudriere jails to 3 GByte; I
disabled this and have the compilation now in progress with:

# egrep 'MAX_MEMORY=|JAVA_OPTS=' /usr/local/etc/poudriere.conf
export JAVA_OPTS='-XX:-UseCompressedClassPointers -Xms512m -Xmx2048m'
# MAX_MEMORY=3

It uses at the moment total of 4 GByte of the RAM and 2.5 GByte of the
swap devices...

	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?20151213081658.GA2376>