Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Oct 2014 21:04:15 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        freebsd-ports@freebsd.org
Cc:        Jimmy Kelley <ljboiler@gmail.com>
Subject:   Re: Fwd: building java/eclipse in HEAD w/ poudriere ...
Message-ID:  <20141025190414.GA2069@unixarea.DDR.dd>
In-Reply-To: <20141024173845.GA9673@jmobile.jimmy.localnet>
References:  <20140824145851.GA1966@tiny-r269739> <20140907184231.GA1092@tiny-r269739> <20140909141026.GA1217@jmobile.jimmy.localnet> <20141023103016.GA2470@unixarea.DDR.dd> <20141024173845.GA9673@jmobile.jimmy.localnet>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141025190414.GA2069>