Fwd: building java/eclipse in HEAD w/ poudriere: java.lang.OutOfMemoryError: Java heap space

Bryan Drewery bdrewery at FreeBSD.org
Sat Aug 23 18:16:45 UTC 2014


On 8/23/2014 8:51 AM, Matthias Apitz wrote:
> 
> Hello ljboiler at gmail.com,
> 
> Can you as the MAINTAINER of the port please clarify how one can build
> this port on
> 
> FreeBSD vm-tiny-r269739 11.0-CURRENT FreeBSD 11.0-CURRENT #1 r269739M:
> Fri Aug 15 18:07:41 CEST 2014 guru at vm-tiny-r269739:/usr/obj/usr/src/sys/GENERIC  i386
> 
> $ LANG=C svn info
> Path: .
> Working Copy Root Path: /usr/ports
> URL: svn://svn.freebsd.org/ports/head/java/eclipse
> Relative URL: ^/head/java/eclipse
> Repository Root: svn://svn.freebsd.org/ports
> Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
> Revision: 364388
> Node Kind: directory
> Schedule: normal
> Last Changed Author: marino
> Last Changed Rev: 361589
> Last Changed Date: 2014-07-11 23:56:01 +0200 (Fri, 11 Jul 2014)
> 
> Thanks in advance
> 
> 	matthias
> 
> ----- Forwarded message from Matthias Apitz <guru at unixarea.de> -----
> 
> Date: Sat, 23 Aug 2014 09:19:10 +0200
> From: Matthias Apitz <guru at unixarea.de>
> To: freebsd-ports at freebsd.org
> Cc: freebsd-java at freebsd.org
> Subject: building java/eclipse in HEAD w/ poudriere:
> 	java.lang.OutOfMemoryError: Java heap space
> 
> 
> Hello,
> 
> I'm building ports in HEAD with poudriere; java/eclipse is failing with 
> java.lang.OutOfMemoryError: Java heap space
> 
> I've already set in make.conf
> 
> MAVEN_OPTS="-Xmx2048m -XX:MaxPermSize=512m"
> 
> But tis does not help; the VM where poudriere is running has 4 GByte
> memory and 4 GByte swap space.
> 
> Any ideas? Thanks
> 
> 	matthias
> 

Once a solution is found we need it for java/openjdk* as well since they
use all ram in the system. On our package builders this is 96GB. We need
to be able to limit how much they can use for building so they only have
a few GB and not 96.

-- 
Regards,
Bryan Drewery

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20140823/32dafbdf/attachment.sig>


More information about the freebsd-ports mailing list