Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 336486

Summary: dev-util/eclipse-sdk-3.5.1-r1 fails to build with java.lang.OutOfMemoryError with dev-java/icedtea-6.1.9
Product: Gentoo Linux Reporter: Michael Gaber <Michael.Gaber>
Component: [OLD] JavaAssignee: Java team <java>
Status: RESOLVED OBSOLETE    
Severity: critical CC: proxy-maint
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 247140    
Attachments: build.log
emerge --info
emerge --pvq
emerge -pvq icedtea:6
build.log after
build log with -Xmx1024M

Description Michael Gaber 2010-09-08 20:39:35 UTC
eclipse-sdk fails to build with current icedtea due to a OutOfMemoryError

Reproducible: Always
Comment 1 Michael Gaber 2010-09-08 20:40:07 UTC
Created attachment 246490 [details]
build.log
Comment 2 Michael Gaber 2010-09-08 20:41:26 UTC
Created attachment 246491 [details]
emerge --info
Comment 3 Michael Gaber 2010-09-08 20:41:40 UTC
Created attachment 246493 [details]
emerge --pvq
Comment 4 Michael Gaber 2010-09-08 20:42:23 UTC
Created attachment 246495 [details]
emerge -pvq icedtea:6
Comment 5 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2010-09-09 13:28:39 UTC
So is there any difference with older icedtea or sun-jdk etc?
Comment 6 Andrew John Hughes 2010-09-10 15:15:31 UTC
So the memory allocated needs to be increased, presumably due to the newer HotSpot (17).
Comment 7 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2010-09-10 15:33:40 UTC
Could you edit the ebuild, look for this:

src_compile() {
        ANT_OPTS='-Xmx512M' eant -DbuildArch=${arch}
}

and change the Xmx part to -Xmx768M

and see if it helps?
Comment 8 Michael Gaber 2010-09-10 20:47:12 UTC
Created attachment 246756 [details]
build.log after 

new build log with -Xmx768M
Comment 9 Michael Gaber 2010-09-10 21:07:44 UTC
Created attachment 246758 [details]
build log with -Xmx1024M
Comment 10 James Le Cuirot gentoo-dev 2016-02-17 13:16:43 UTC
dev-util/eclipse-sdk has been removed from the tree. It may return one day but the build system has changed beyond all recognition so this is no longer relevant.