Fwd: building java/eclipse in HEAD w/ poudriere ...
Matthias Apitz
guru at unixarea.de
Sat Oct 25 19:04:54 UTC 2014
El día Friday, October 24, 2014 a las 12:38:45PM -0500, Jimmy Kelley escribió:
> Matthias,
>
> I finally had the time to set up an environment to do the build in a -CURRENT i386
> poudriere environment.
>
> It built with no errors; see the bug you filed for details:
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193479
>
> Regards,
> Jimmy
I was able today to build java/eclipse with poudriere in an i386 VM with:
4 GByte RAM
6 GByte SWAP files
and the following parameters.
/boot/loader.conf:
kern.maxdsiz="1073741824" # in bytes 1024*1024*1024
kern.maxssiz="671088640" # in bytes 65536*1024*10
kern.maxswzone="72351744" # double of default 36.175.872
/usr/local/etc/poudriere.conf:
export MAVEN_OPTS='-Xmx1024m -XX:MaxPermSize=256m'
export JAVA_OPTS='-Xms512m -Xmx1024m'
It took around ~52 minutes to build and I think the essential is the
memory/swap
in the last phase of the building, and esp. to unlimit the JVM (per
default it
seems to be limited to 512 MByte).
Maybe we should adjust the above *_OPTS value in the ports Makefile.
I have closed the issue
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193479
matthias
--
Matthias Apitz | /"\ ASCII Ribbon Campaign:
E-mail: guru at unixarea.de | \ / - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ | X - No proprietary attachments
phone: +49-170-4527211 | / \ - Respect for open standards
| en.wikipedia.org/wiki/ASCII_Ribbon_Campaign
More information about the freebsd-ports
mailing list