From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Sep 22 06:00:13 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 69720106566C for ; Wed, 22 Sep 2010 06:00:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2C1988FC16 for ; Wed, 22 Sep 2010 06:00:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o8M60Cpk024859 for ; Wed, 22 Sep 2010 06:00:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o8M60Cq9024856; Wed, 22 Sep 2010 06:00:12 GMT (envelope-from gnats) Resent-Date: Wed, 22 Sep 2010 06:00:12 GMT Resent-Message-Id: <201009220600.o8M60Cq9024856@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Rob Farmer Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F8201065694 for ; Wed, 22 Sep 2010 05:53:42 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 5F7878FC21 for ; Wed, 22 Sep 2010 05:53:42 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o8M5rg17074108 for ; Wed, 22 Sep 2010 05:53:42 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o8M5rfcQ074107; Wed, 22 Sep 2010 05:53:41 GMT (envelope-from nobody) Message-Id: <201009220553.o8M5rfcQ074107@www.freebsd.org> Date: Wed, 22 Sep 2010 05:53:41 GMT From: Rob Farmer To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/150847: [patch] graphics/batik Fix out of memory error during build X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Sep 2010 06:00:13 -0000 >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: