[Bug 193479] building java/eclipse in HEAD w/ poudriere: java.lang.OutOfMemoryError: Java heap space
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Oct 25 18:54:32 UTC 2014
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193479
Matthias Apitz <guru at unixarea.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Needs Triage |Issue Resolved
Resolution|--- |Not A Bug
--- Comment #5 from Matthias Apitz <guru at unixarea.de> ---
I was able today to build java/eclipse with poudriere in a 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.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list