ports/150847: [patch] graphics/batik Fix out of memory error during build
Rob Farmer
rfarmer at predatorlabs.net
Wed Sep 22 06:00:13 UTC 2010
>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 at 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:
More information about the freebsd-ports-bugs
mailing list