Date: Wed, 22 Sep 2010 05:53:41 GMT From: Rob Farmer <rfarmer@predatorlabs.net> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/150847: [patch] graphics/batik Fix out of memory error during build Message-ID: <201009220553.o8M5rfcQ074107@www.freebsd.org> Resent-Message-ID: <201009220600.o8M60Cq9024856@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 150847 >Category: ports >Synopsis: [patch] graphics/batik Fix out of memory error during build >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Sep 22 06:00:12 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Rob Farmer >Release: 9.0-CURRENT >Organization: >Environment: FreeBSD turquoise.predatorlabs.net 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r212838: Sun Sep 19 02:48:07 PDT 2010 rfarmer@turquoise.predatorlabs.net:/usr/obj/usr/src/sys/TURQUOISE amd64 >Description: Building on amd64 with diablo-jdk16 the ant process runs out of memory due to the Java memory limiter. Allow it to grow to 512 MB (arbitrary choice, but seems to consistently work). >How-To-Repeat: >Fix: Patch attached with submission follows: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/graphics/batik/Makefile,v retrieving revision 1.9 diff -u -r1.9 Makefile --- Makefile 4 Sep 2010 07:00:52 -0000 1.9 +++ Makefile 22 Sep 2010 05:44:20 -0000 @@ -26,6 +26,8 @@ DATADIR= ${JAVASHAREDIR}/${PORTNAME} TARGET_DIR= ${WRKSRC}/${PORTNAME}-${PORTVERSION} +MAKE_ENV+= "ANT_OPTS=-Xmx512m" + .if !defined(NOPORTDOCS) ALL_TARGET+= javadoc .endif >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009220553.o8M5rfcQ074107>