java/eclipse (eclipse-4.5.1) does not build on 11-CURRENT amd64

Matthias Apitz guru at unixarea.de
Sun Dec 13 08:17:06 UTC 2015


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 at unixarea.de, 🌐 http://www.unixarea.de/  ☎ +49-176-38902045


More information about the freebsd-ports mailing list