Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Aug 2014 07:04:06 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        Bryan Drewery <bdrewery@FreeBSD.org>, 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>
In-Reply-To: <53F90C66.80107@FreeBSD.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140824050406.GA9352>