Fwd: building java/eclipse in HEAD w/ poudriere: java.lang.OutOfMemoryError: Java heap space

Matthias Apitz guru at unixarea.de
Sun Aug 24 05:04:15 UTC 2014


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 at 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


More information about the freebsd-ports mailing list