From owner-freebsd-ports@FreeBSD.ORG Sun Aug 24 05:04:15 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 129557E0; Sun, 24 Aug 2014 05:04:15 +0000 (UTC) Received: from sh4-5.1blu.de (sh4-5.1blu.de [178.254.11.41]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C85CB3612; Sun, 24 Aug 2014 05:04:14 +0000 (UTC) Received: from ftp51246-2575596 by sh4-5.1blu.de with local (Exim 4.76) (envelope-from ) id 1XLPyI-0002dI-A9; Sun, 24 Aug 2014 07:04:06 +0200 Date: Sun, 24 Aug 2014 07:04:06 +0200 From: Matthias Apitz To: Bryan Drewery , freebsd-ports@freebsd.org Subject: Re: Fwd: building java/eclipse in HEAD w/ poudriere: java.lang.OutOfMemoryError: Java heap space Message-ID: <20140824050406.GA9352@sh4-5.1blu.de> Reply-To: Matthias Apitz References: <20140823135101.GA28621@sh4-5.1blu.de> <53F8DA83.2090809@FreeBSD.org> <53F8E805.6090705@gmx.de> <53F8E87D.9080502@FreeBSD.org> <20140823195132.GA1260@tiny-r269739> <53F90C66.80107@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <53F90C66.80107@FreeBSD.org> X-Operating-System: FreeBSD 7.0-RELEASE (i386) User-Agent: Mutt/1.5.21 (2010-09-15) 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: Sun, 24 Aug 2014 05:04:15 -0000 El día Saturday, August 23, 2014 a las 04:49:26PM -0500, Bryan Drewery escribió: > Sorry it would not. I am mixing multiple ideas. We need to be able to > both limit the amount of memory a jail can use (RCTL) but also ensure > applications don't think they use all of hw.physmem for building. This > may be actually adding a feature to limit how much memory jails can > think they have. The openjdk ports peer into hw.physmem and assume they > have a ton of memory and fail to build once they hit the limits we've > put in place via ulimit or rctl. Eclipse is probably doing something > similar regarding guessing how much memory it can use. > > Do you have MAX_MEMORY set in poudriere.conf? This would cause the > openjdk ports to fail if it is largely different than how much memory > you actually have. No. I will set it now to 3 GByte and will let you know. I only have had in loader.conf: kern.maxdsiz="1073741824" # in bytes 1024*1024*1024 kern.maxssiz="671088640" # in bytes 65536*1024*10 which did not helped. matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: E-mail: guru@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign