Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 245483 - net-p2p/azureus-4.0.0.2 - fails to emerge using ibm-jdk-bin-1.6 without increasing heap size
Summary: net-p2p/azureus-4.0.0.2 - fails to emerge using ibm-jdk-bin-1.6 without incre...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-04 07:37 UTC by Chris Anderson
Modified: 2008-11-04 12:13 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Anderson 2008-11-04 07:37:40 UTC
Had to increase the heap for the x86 build to 512 - might work with 256 also - otherwise it throws an out of memory exception during the build
 src_compile() {
     local mem
     use amd64 && mem="256"
     use x86   && mem="128"  <--- only emerges after being changed
     use ppc   && mem="192"
     use ppc64 && mem="256"
     export ANT_OPTS="-Xmx${mem}m"
     java-pkg-2_src_compile
 }

Reproducible: Always

Steps to Reproduce:
1. eselect system-vm ibm-jdk-1.6 (and install)
2. emerge azureus 4.0.2
3. Fails
Comment 1 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2008-11-04 12:13:51 UTC
Reproduced, 192MB was enough, so changed to that. Thanks.