Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Aug 2014 19:00:55 -0500
From:      Jimmy Kelley <ljboiler@gmail.com>
To:        Matthias Apitz <guru@unixarea.de>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Fwd: building java/eclipse in HEAD w/ poudriere: java.lang.OutOfMemoryError: Java heap space
Message-ID:  <20140824000046.GA1341@jmobile.jimmy.localnet>
In-Reply-To: <20140823135101.GA28621@sh4-5.1blu.de>
References:  <20140823135101.GA28621@sh4-5.1blu.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Aug 23, 2014 at 03:51:01PM +0200, Matthias Apitz wrote:
> 
> Hello ljboiler@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@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@unixarea.de> -----
> 
> Date: Sat, 23 Aug 2014 09:19:10 +0200
> From: Matthias Apitz <guru@unixarea.de>
> To: freebsd-ports@freebsd.org
> Cc: freebsd-java@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

Hello Matthias,

I have not tried to build this version of Eclipse on -CURRENT at all.
I think -Xmx2048m for MAVEN_OPTS on i386 is too big; try -Xmx1792m.
I had that in the Makefile when first developing and testing the port, but
removed it; maybe putting that back in will deal with the complaints that
bdrewery@ had about memory usage on the package builders...

redports has never been kind to this port, but maybe I'll give it another
go...

Regards,

Jimmy



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