1 |
Hi, |
2 |
|
3 |
I am trying to build VTK (http://www.vtk.org/). I have no problems |
4 |
compiling this package on x86 by either using emerge or manually. But on |
5 |
amd64 the build dies because of an java.lang.OutOfMemoryError: |
6 |
|
7 |
(...) |
8 |
Listing /var/tmp/portage/vtk-5.0.0-r4/work/VTK/Wrapping/Python/vtk/wx ... |
9 |
Compiling /var/tmp/portage/vtk-5.0.0-r4/work/VTK/Wrapping/Python/vtk/wx/__init__.py ... |
10 |
Compiling /var/tmp/portage/vtk-5.0.0-r4/work/VTK/Wrapping/Python/vtk/wx/wxVTKRenderWindow.py ... |
11 |
Compiling /var/tmp/portage/vtk-5.0.0-r4/work/VTK/Wrapping/Python/vtk/wx/wxVTKRenderWindowInteractor.py ... |
12 |
... |
13 |
Generating ../../java/vtk/vtkBuildAllDriver.class |
14 |
|
15 |
|
16 |
The system is out of resources. |
17 |
Consult the following stack trace for details. |
18 |
java.lang.OutOfMemoryError |
19 |
make[2]: *** [java/vtk/vtkBuildAllDriver.class] Error 3 |
20 |
make[1]: *** [Wrapping/Java/CMakeFiles/VTKBuildAll.dir/all] Error 2 |
21 |
make: *** [all] Error 2 |
22 |
|
23 |
|
24 |
The build consequently breaks down here. However, when I run make again, |
25 |
it suddenly compiles withtout problems and finishes the build. |
26 |
|
27 |
The compilation command for building vtkBuildAllDriver.class is: |
28 |
|
29 |
(...) |
30 |
@echo "Generating ../../java/vtk/vtkBuildAllDriver.class" |
31 |
cd /var/tmp/portage/vtk-5.0.0-r4/work/VTK/Wrapping/Java && /opt/blackdown-jdk-1.4.2.03/bin/javac -classpath |
32 |
/var/tmp/portage/vtk-5.0.0-r4/work/VTK/java/vtk/.. -d /var/tmp/portage/vtk-5.0.0-r4/work/VTK/java/vtk/.. |
33 |
/var/tmp/portage/vtk-5.0.0-r4/work/VTK/java/vtk/vtkBuildAllDriver.java |
34 |
|
35 |
|
36 |
I have tried to increase the amount of memory java can use by adding |
37 |
-J-Xms48m to the command (right after configuration, since a second |
38 |
compilation attempt always works), but without succes. |
39 |
|
40 |
Does anyone have an idea what the problem can be? I am unsure if the |
41 |
problem lies within VTK or Blackdown. Sun-jdk does not have a 64 bit |
42 |
version available, so I cannot compare with that. |
43 |
|
44 |
References: |
45 |
I have previously posted this to |
46 |
http://bugs.gentoo.org/show_bug.cgi?id=123178 as well. |
47 |
|
48 |
|
49 |
Thanks in advance, |
50 |
Sebastiaan |
51 |
|
52 |
|
53 |
|
54 |
-- |
55 |
|
56 |
English written by Dutch people is easily recognized by the improper use of 'In principle ...' |
57 |
|
58 |
The software box said 'Requires Windows 95 or better', so I installed Linux. |
59 |
|
60 |
Als Pacman in de jaren '80 de kinderen zo had beïnvloed zouden nu veel jongeren rondrennen |
61 |
in donkere zalen terwijl ze pillen eten en luisteren naar monotone electronische muziek. |
62 |
(Kristian Wilson, Nintendo, 1989) |