[vtkusers] Can't build Oct 3 2006 sources.
Jeff Lee
jeff at cdnorthamerica.com
Thu Oct 5 09:28:53 EDT 2006
Hi David,
I found that I needed to expand the heap size to 256mb (default is 16mb)
on every platform. This is done by passing the flag -J-mx256m after the
classpath arg in Wrapping/Java/CMakeLists.txt. If your fix somehow
changed the overall memory requirements, then this is probably not needed.
-Jeff
David Cole wrote:
> Some of the Java build rules were in flux as we fixed up some
> dependency issues over the last couple of days... Could you try
> updating to a current snapshot and rebuilding from scratch?
>
> I think it should be fixed. I saw the same error using Visual Studio
> before we made the changes. (Or you could really be out of memory
> during a java compile... How much RAM do you have?)
>
> HTH,
> David
>
>
> Harry Simons wrote:
>
>> Hello,
>>
>> I get these two errors when building Oct 3 2006 snapshot of CVS.
>> Looks like the default heap space is proving insufficient. Now where
>> would one specify its value? Any other way to rectify this problem?
>>
>> Harry
>>
>>
>> ------ Build started: Project: VTKBuildAll, Configuration: Debug
>> Win32 ------
>>
>> Generating ../../java/vtk/vtkBuildAllDriver.class
>> The system is out of resources.
>> Consult the following stack trace for details.
>> java.lang.OutOfMemoryError: Java heap space
>> Project : error PRJ0019: A tool returned an error code from
>> "Generating ../../java/vtk/vtkBuildAllDriver.class"
>>
>> Build log was saved at "
>> file://c:\cygwin\home\harry\vtk.latest\VTK-build\Wrapping\Java\VTKBuildAll.dir\Debug\BuildLog.htm
>> <file://c:%5Ccygwin%5Chome%5Charry%5Cvtk.latest%5CVTK-build%5CWrapping%5CJava%5CVTKBuildAll.dir%5CDebug%5CBuildLog.htm>"
>>
>> VTKBuildAll - 1 error(s), 0 warning(s)
>>
>>
>> ------ Build started: Project: VTKJavaJar, Configuration: Debug Win32
>> ------
>>
>> Generating ../../java/vtk/vtkWin32RenderWindowInteractor.class
>> The system is out of resources.
>> Consult the following stack trace for details.
>> java.lang.OutOfMemoryError: Java heap space
>> Project : error PRJ0019: A tool returned an error code from
>> "Generating ../../java/vtk/vtkWin32RenderWindowInteractor.class"
>>
>> Build log was saved at
>> "file://c:\cygwin\home\harry\vtk.latest\VTK-build\Wrapping\Java\VTKJavaJar.dir\Debug\BuildLog.htm
>> <file://c:%5Ccygwin%5Chome%5Charry%5Cvtk.latest%5CVTK-build%5CWrapping%5CJava%5CVTKJavaJar.dir%5CDebug%5CBuildLog.htm>"
>>
>> VTKJavaJar - 1 error(s), 0 warning(s)
>>
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> This is the private VTK discussion list. Please keep messages
>> on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>>
>>
> _______________________________________________
> This is the private VTK discussion list. Please keep messages
> on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
More information about the vtkusers
mailing list