From owner-freebsd-ports@FreeBSD.ORG Sat Aug 23 19:16:23 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 048F8C3F for ; Sat, 23 Aug 2014 19:16:23 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D9F573409 for ; Sat, 23 Aug 2014 19:16:22 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.9/8.14.9) with ESMTP id s7NJGMpN093907 for ; Sat, 23 Aug 2014 19:16:22 GMT (envelope-from bdrewery@freefall.freebsd.org) Received: (from bdrewery@localhost) by freefall.freebsd.org (8.14.9/8.14.9/Submit) id s7NJGM8U093906 for freebsd-ports@freebsd.org; Sat, 23 Aug 2014 19:16:22 GMT (envelope-from bdrewery) Received: (qmail 90511 invoked from network); 23 Aug 2014 14:16:21 -0500 Received: from unknown (HELO ?10.10.0.24?) (freebsd@shatow.net@10.10.0.24) by sweb.xzibition.com with ESMTPA; 23 Aug 2014 14:16:21 -0500 Message-ID: <53F8E87D.9080502@FreeBSD.org> Date: Sat, 23 Aug 2014 14:16:13 -0500 From: Bryan Drewery Organization: FreeBSD User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: freebsd-ports@freebsd.org Subject: Re: Fwd: building java/eclipse in HEAD w/ poudriere: java.lang.OutOfMemoryError: Java heap space References: <20140823135101.GA28621@sh4-5.1blu.de> <53F8DA83.2090809@FreeBSD.org> <53F8E805.6090705@gmx.de> In-Reply-To: <53F8E805.6090705@gmx.de> OpenPGP: id=6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TNfNmu68aH251So1rHlXiNtesWgEeI3IH" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Aug 2014 19:16:23 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --TNfNmu68aH251So1rHlXiNtesWgEeI3IH Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 8/23/2014 2:14 PM, olli hauer wrote: > On 2014-08-23 20:16, Bryan Drewery wrote: >> On 8/23/2014 8:51 AM, Matthias Apitz wrote: >>> >>> Hello ljboiler@gmail.com, >>> >>> Can you as the MAINTAINER of the port please clarify how one can buil= d >>> 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/s= ys/GENERIC i386 >>> >>> $ LANG=3DC 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 ----- >>> >>> Date: Sat, 23 Aug 2014 09:19:10 +0200 >>> From: Matthias Apitz >>> 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 wi= th=20 >>> java.lang.OutOfMemoryError: Java heap space >>> >>> I've already set in make.conf >>> >>> MAVEN_OPTS=3D"-Xmx2048m -XX:MaxPermSize=3D512m" >>> >>> 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 th= ey >> use all ram in the system. On our package builders this is 96GB. We ne= ed >> to be able to limit how much they can use for building so they only ha= ve >> a few GB and not 96. >> >=20 > For FreeBSD >=3D 9.x rctl can be a solution to limit jail resources. > Unluckily it seems that RACCT/RCTL it not a default kernel option and a= lso not a loadable module ... > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/security-reso= urcelimits.html#idp72352048 >=20 >=20 Yes rctl is something I have considered adding into the build systems to integrate with poudriere. It would be perfect for this use. However it is not default because of the same reason I likely won't use it. It adds a lot of overhead with PROC_LOCKS. --=20 Regards, Bryan Drewery --TNfNmu68aH251So1rHlXiNtesWgEeI3IH Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) iQEcBAEBAgAGBQJT+Oh9AAoJEDXXcbtuRpfPx/4IALwj6Fk/4e6o6A/2jjc5F9OF 5+Uq6VVW9L1/4cG1ZLwSluqxKY+PvHjtul73BZlA+5yFKCkk6aa2Dfr1WepbuyhW +W585SBP6r7KoVZsyJIgv2WfJvkxbH1C52G3Bolc1ye8KL6uP1mDkX+oO9R2UiL7 KhQH/aVe63NvBt8GkM8PotzL1dMkc7zUFU1wXQmiPyFNqJV1n8exZL54Yh/Ftw3s QG6O+qkpo0qp7Z+nE2VTj4ifX3hvse76YEaIKX1Mav5lxxAbOJ1MZln4nXB1U+vb 1DSsej9DLbpJmRgamSBspP/eF1wMU+iUZ44HyhKZ+lhacowyUMzGY2aR0WGoDwQ= =VlTE -----END PGP SIGNATURE----- --TNfNmu68aH251So1rHlXiNtesWgEeI3IH--