1 |
Hi! |
2 |
|
3 |
On Fri, 17 Mar 2006, Joshua Nichols wrote: |
4 |
|
5 |
> Whoops... accidentally replied off list much earlier today. |
6 |
> |
7 |
> Sebastiaan wrote: |
8 |
>> I have tried to increase the amount of memory java can use by adding |
9 |
>> -J-Xms48m to the command (right after configuration, since a second |
10 |
>> compilation attempt always works), but without succes. |
11 |
>> |
12 |
> -Xms sets the initial memory allocated. You probably want -Xmx, which sets |
13 |
> the maximum amount of memory that will be allocated, and you probably want |
14 |
> this to be fairly high, or at least more than 48m. |
15 |
> If you're going to patch the makefiles, a clean way to do it may be to add |
16 |
> like a variable JAVACFLAGS, which we can then set in the ebuild like: |
17 |
> use amd64 && JAVACFLAGS="-J-Xmx256m ${JAVACFLAGS}" |
18 |
|
19 |
Yes! This works. |
20 |
|
21 |
>> Does anyone have an idea what the problem can be? I am unsure if the |
22 |
>> problem lies within VTK or Blackdown. Sun-jdk does not have a 64 bit |
23 |
>> version available, so I cannot compare with that. |
24 |
>> |
25 |
> I'm pretty sure it's a blackdown on amd64 thing. We do encounter it for a few |
26 |
> packages, like net-p2p/azureus. For the record, there is a amd64 version of |
27 |
> sun-jdk-1.5 (and 1.6...), but I'm sure at this point I shouldn't have to go |
28 |
> into the concerns about using them ;) |
29 |
> |
30 |
|
31 |
I am still a little bit disfigured: is the problem is the amount of |
32 |
allocated memory, why does a second make always work? Perhaps javac is |
33 |
keeping some cache? |
34 |
|
35 |
Thanks! |
36 |
Sebastiaan |
37 |
|
38 |
|
39 |
>> References: |
40 |
>> I have previously posted this to |
41 |
>> http://bugs.gentoo.org/show_bug.cgi?id=123178 as well. |
42 |
>> |
43 |
> |
44 |
> Hope this helps, |
45 |
> - Josh |
46 |
> |
47 |
|
48 |
|
49 |
-- |
50 |
|
51 |
English written by Dutch people is easily recognized by the improper use of 'In principle ...' |
52 |
|
53 |
The software box said 'Requires Windows 95 or better', so I installed Linux. |
54 |
|
55 |
Als Pacman in de jaren '80 de kinderen zo had beïnvloed zouden nu veel jongeren rondrennen |
56 |
in donkere zalen terwijl ze pillen eten en luisteren naar monotone electronische muziek. |
57 |
(Kristian Wilson, Nintendo, 1989) |