Gentoo Logo
Gentoo Spaceship

Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-java
Lists: gentoo-java: < Prev By Thread Next > < Prev By Date Next >
To: gentoo-java@g.o
From: Sebastiaan <sebastia@...>
Subject: Re: java.lang.OutOfMemoryError on amd64
Date: Sat, 18 Mar 2006 12:39:21 +0100 (CET)

On Fri, 17 Mar 2006, Joshua Nichols wrote:

> Whoops... accidentally replied off list much earlier today.
> Sebastiaan wrote:
>> I have tried to increase the amount of memory java can use by adding 
>> -J-Xms48m to the command (right after configuration, since a second 
>> compilation attempt always works), but without succes.
> -Xms sets the initial memory allocated. You probably want -Xmx, which sets 
> the maximum amount of memory that will be allocated, and you probably want 
> this to be fairly high, or at least more than 48m.
> If you're going to patch the makefiles, a clean way to do it may be to add 
> like a variable JAVACFLAGS, which we can then set in the ebuild like:
> use amd64 && JAVACFLAGS="-J-Xmx256m ${JAVACFLAGS}"

Yes! This works.

>> Does anyone have an idea what the problem can be? I am unsure if the 
>> problem lies within VTK or Blackdown. Sun-jdk does not have a 64 bit 
>> version available, so I cannot compare with that.
> I'm pretty sure it's a blackdown on amd64 thing. We do encounter it for a few 
> packages, like net-p2p/azureus. For the record, there is a amd64 version of 
> sun-jdk-1.5 (and 1.6...), but I'm sure at this point I shouldn't have to go 
> into the concerns about using them ;)

I am still a little bit disfigured: is the problem is the amount of 
allocated memory, why does a second make always work? Perhaps javac is 
keeping some cache?


>> References:
>> I have previously posted this to 
>> as well.
> Hope this helps,
> - Josh


English written by Dutch people is easily recognized by the improper use of 'In principle ...'

The software box said 'Requires Windows 95 or better', so I installed Linux.

Als Pacman in de jaren '80 de kinderen zo had beïnvloed zouden nu veel jongeren rondrennen 
in donkere zalen terwijl ze pillen eten en luisteren naar monotone electronische muziek. 
(Kristian Wilson, Nintendo, 1989)
java.lang.OutOfMemoryError on amd64
-- Sebastiaan
Re: java.lang.OutOfMemoryError on amd64
-- Joshua Nichols
Lists: gentoo-java: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: java.lang.OutOfMemoryError on amd64
Next by thread:
Online-banking on 64Bit system needs Sun-Java
Previous by date:
Re: java.lang.OutOfMemoryError on amd64
Next by date:
Re: java.lang.OutOfMemoryError on amd64

Updated Jun 17, 2009

Summary: Archive of the gentoo-java mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.