Summary: | dev-java/fastutil-5.0.5 fails to build | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Steve Jakab <sjakab> |
Component: | [OLD] Java | Assignee: | Java team <java> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Steve Jakab
2007-04-22 15:19:29 UTC
(In reply to comment #0) > emerge dev-java/fastutil fails with the error "Could not reserve enough space > for object heap". How much RAM and swap do you have? It needs just 512M :) > It's odd that it says that the VM is 1.6, because although I have 1.6 > installed, the java-config-2 setting is 1.5 (from java-config-2 -L: Sun JDK > 1.5.0.11 [sun-jdk-1.5]). system vm != build vm, see Preferred VM at http://www.gentoo.org/doc/en/java.xml OK I think I know the probem, when I fixed bug 162650, I set heap size to 512M globally because build.xml can't fork and set memory limit for <javac> if the compiler isn't javac (but e.g. ecj). But if it is javac, then fork works and there are two VM instances with 512 limits. Fixed hopefully by setting heap size only for compilers other than javac, reopen if it still remains. |