Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Oct 2014 18:54:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 193479] building java/eclipse in HEAD w/ poudriere: java.lang.OutOfMemoryError: Java heap space
Message-ID:  <bug-193479-13-vH6tMq25SP@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-193479-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-193479-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193479

Matthias Apitz <guru@unixarea.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Triage                |Issue Resolved
         Resolution|---                         |Not A Bug

--- Comment #5 from Matthias Apitz <guru@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-193479-13-vH6tMq25SP>