Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 336486 - dev-util/eclipse-sdk-3.5.1-r1 fails to build with java.lang.OutOfMemoryError with dev-java/icedtea-6.1.9
Summary: dev-util/eclipse-sdk-3.5.1-r1 fails to build with java.lang.OutOfMemoryError ...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: icedtea-tracker
  Show dependency tree
 
Reported: 2010-09-08 20:39 UTC by Michael Gaber
Modified: 2016-02-17 13:16 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,354.04 KB, text/plain)
2010-09-08 20:40 UTC, Michael Gaber
Details
emerge --info (info,5.00 KB, text/plain)
2010-09-08 20:41 UTC, Michael Gaber
Details
emerge --pvq (pvq,73 bytes, text/plain)
2010-09-08 20:41 UTC, Michael Gaber
Details
emerge -pvq icedtea:6 (partyplanung.ods,20.68 KB, text/plain)
2010-09-08 20:42 UTC, Michael Gaber
Details
build.log after (build.log,258.67 KB, text/plain)
2010-09-10 20:47 UTC, Michael Gaber
Details
build log with -Xmx1024M (build.log,584.22 KB, text/plain)
2010-09-10 21:07 UTC, Michael Gaber
Details

Note You need to log in before you can comment on or make changes to this bug.
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.