From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1FKGR2-0008Uh-8b for garchives@archives.gentoo.org; Fri, 17 Mar 2006 15:00:12 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5.20060308/8.13.5) with SMTP id k2HExaa0025787; Fri, 17 Mar 2006 14:59:36 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.5.20060308/8.13.5) with ESMTP id k2HExZOS012431 for ; Fri, 17 Mar 2006 14:59:36 GMT Received: from ch.its.tudelft.nl ([130.161.156.139]) by smtp.gentoo.org with esmtp (Exim 4.54) id 1FKGQR-0000VH-8t for gentoo-java@lists.gentoo.org; Fri, 17 Mar 2006 14:59:35 +0000 Received: from localhost ([127.0.0.1] helo=ch.its.tudelft.nl) by ch.its.tudelft.nl with esmtp (Exim 4.50) id 1FKGQN-0006ZD-CV for gentoo-java@gentoo.org; Fri, 17 Mar 2006 15:59:31 +0100 Received: from sebastia (helo=localhost) by ch.its.tudelft.nl with local-esmtp (Exim 4.50) id 1FKGQN-0006ZA-8p for gentoo-java@gentoo.org; Fri, 17 Mar 2006 15:59:31 +0100 Date: Fri, 17 Mar 2006 15:59:31 +0100 (CET) From: Sebastiaan To: gentoo-java@lists.gentoo.org Subject: [gentoo-java] java.lang.OutOfMemoryError on amd64 Message-ID: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-java@gentoo.org MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-1585280100-1475842202-1142607571=:16767" X-CH-MailScanner-VirusCheck: Found to be clean X-MailScanner-From: sebastia@ch.its.tudelft.nl X-Archives-Salt: edfff1fa-97cb-4094-b4d7-bcaad706c2ec X-Archives-Hash: ff6f59ce05ff7ea48ac80f157a02df83 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---1585280100-1475842202-1142607571=:16767 Content-Type: TEXT/PLAIN; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Hi, I am trying to build VTK (http://www.vtk.org/). I have no problems=20 compiling this package on x86 by either using emerge or manually. But on=20 amd64 the build dies because of an java.lang.OutOfMemoryError: (...) Listing /var/tmp/portage/vtk-5.0.0-r4/work/VTK/Wrapping/Python/vtk/wx ... Compiling /var/tmp/portage/vtk-5.0.0-r4/work/VTK/Wrapping/Python/vtk/wx/__i= nit__.py ... Compiling /var/tmp/portage/vtk-5.0.0-r4/work/VTK/Wrapping/Python/vtk/wx/wxV= TKRenderWindow.py ... Compiling /var/tmp/portage/vtk-5.0.0-r4/work/VTK/Wrapping/Python/vtk/wx/wxV= TKRenderWindowInteractor.py ... =2E.. Generating ../../java/vtk/vtkBuildAllDriver.class The system is out of resources. Consult the following stack trace for details. java.lang.OutOfMemoryError make[2]: *** [java/vtk/vtkBuildAllDriver.class] Error 3 make[1]: *** [Wrapping/Java/CMakeFiles/VTKBuildAll.dir/all] Error 2 make: *** [all] Error 2 The build consequently breaks down here. However, when I run make again,=20 it suddenly compiles withtout problems and finishes the build. The compilation command for building vtkBuildAllDriver.class is: (...) @echo "Generating ../../java/vtk/vtkBuildAllDriver.class" cd /var/tmp/portage/vtk-5.0.0-r4/work/VTK/Wrapping/Java && /opt/blackdown-j= dk-1.4.2.03/bin/javac -classpath=20 /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/..=20 /var/tmp/portage/vtk-5.0.0-r4/work/VTK/java/vtk/vtkBuildAllDriver.java I have tried to increase the amount of memory java can use by adding=20 -J-Xms48m to the command (right after configuration, since a second=20 compilation attempt always works), but without succes. Does anyone have an idea what the problem can be? I am unsure if the=20 problem lies within VTK or Blackdown. Sun-jdk does not have a 64 bit=20 version available, so I cannot compare with that. References: I have previously posted this to=20 http://bugs.gentoo.org/show_bug.cgi?id=3D123178 as well. Thanks in advance, Sebastiaan -- 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= =2E Als Pacman in de jaren '80 de kinderen zo had be=EFnvloed zouden nu veel jo= ngeren rondrennen=20 in donkere zalen terwijl ze pillen eten en luisteren naar monotone electron= ische muziek.=20 (Kristian Wilson, Nintendo, 1989) ---1585280100-1475842202-1142607571=:16767-- -- gentoo-java@gentoo.org mailing list