Summary: | www-servers/tomcat-6.0.26: fails in src_compile with "java.lang.OutOfMemoryError: Java heap space ..." | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Konstantin Agouros <elwood> |
Component: | [OLD] Server | Assignee: | Java team <java> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bfx81, bleszynski, bugzilla, claim, mike, pchrist |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Konstantin Agouros
2010-03-30 21:16:39 UTC
Seems similar to bug 292534 ? I am seeing the same result. I am seeing the same result on my server (amd64 2 GB memory) but it emerges fine on my workstation (amd64 4 GB memory) I have a similar setup. Tomcat emerge fails on both the workstation (amd64 4GB memory) and on the server (amd64 1GB memory). I will try to test on x86 when I have a chance. Is the ebuild able to change ant's build.xml? Can we get past this problem by setting fork="true" in line 102 of /var/tmp/portage/www-servers/tomcat-6.0.26/work/apache-tomcat-6.0.26-src/build.xml? Does this fix the issue? JAVA_PKG_FORCE_COMPILER="ecj-3.3" emerge -1 tomcat Yes, it fixes the issue. Thank you. (In reply to comment #6) > Yes, it fixes the issue. Thank you. > Works for me too, thanks. Thanks for testing. Changed ebuild to force ecj always on amd64. *** Bug 213897 has been marked as a duplicate of this bug. *** (In reply to comment #5) > Does this fix the issue? > > JAVA_PKG_FORCE_COMPILER="ecj-3.3" emerge -1 tomcat > This works for me as well. I can see in the ebuild that ecj is selected as the compiler for JVM 1.5 only. Is there a reason not to use ecj also for 1.6 JVMs? (In reply to comment #10) > (In reply to comment #5) > > Does this fix the issue? > > > > JAVA_PKG_FORCE_COMPILER="ecj-3.3" emerge -1 tomcat > > > > This works for me as well. I can see in the ebuild that ecj is selected as the > compiler for JVM 1.5 only. Is there a reason not to use ecj also for 1.6 JVMs? It should be now, on amd64 at least. (In reply to comment #11) > (In reply to comment #10) > > (In reply to comment #5) > > > Does this fix the issue? > > > > > > JAVA_PKG_FORCE_COMPILER="ecj-3.3" emerge -1 tomcat > > > > > > > This works for me as well. I can see in the ebuild that ecj is selected as the > > compiler for JVM 1.5 only. Is there a reason not to use ecj also for 1.6 JVMs? > > It should be now, on amd64 at least. > 'BUILD SUCCESSFUL' so yes it does |