[vtkusers] vtk (java version) heap memory problem: EXCEPTION_ACCESS_VIOLATION

Jeff Lee jeff at cdnorthamerica.com
Wed Oct 1 09:34:31 EDT 2003


Is there an actor/mapper containing this polydata being displayed while 
you are executing the contour filter?  have you already set up the rest 
of the pipeline?  Can you set up the pipeline and update prior to 
calling iren.Start()?

Elisabeth Thorsen wrote:

>I have a large dataset that I am trying to visualize
>using vtk contouring filter from java.
>I am only able to visualize about 60 % of the dataset.
>This works fine. But if I try to visualize more I get
>the following error:
>
>An unexpected exception has been detected in native
>code outside the VM.
>Unexpected Signal : EXCEPTION_ACCESS_VIOLATION
>occurred at PC=0x77F83AED
>Function=RtlSizeHeap+0x7D7
>Library=C:\Windows\System32\ntdll.dll
>
>Current Java thread:
>	at vtk.vtkRenderWindowInteractor.Start_5(Native
>Method)
>	at
>vtk.vtkRenderWindowInteractor.Start(vtkRenderWindowInteractor.java:32)
>	at
>com.interaction.avt.j3d.filters.iaTestFilter.<init>(iaTestFilter.java:299)
>	at
>com.interaction.avt.j3d.filters.iaTestFilter.main(iaTestFilter.java:390)
>
>Dynamic libraries:
>0x00400000 - 0x00407000 
>C:\j2sdk1.4.1_02\bin\javaw.exe
>0x77F50000 - 0x77FF7000 	C:\Windows\System32\ntdll.dll
>0x77E60000 - 0x77F46000 
>C:\Windows\system32\kernel32.dll
>
>Is there a way to increase the heap memory size or is
>this caused by something else?
>
>Here is part of my java code:
>
> vtkPolyData polydata is created based on my dataset;
>
> vtkContourFilter filter = new vtkContourFilter();
> filter.SetInput(polydata); 
> filter.GenerateValues(10, mini, maxi);
>      
> vtkPolyData pd = filter.GetOutput();
>  
> pd.Update(); // Here it crashes if more that 60 % of
>the dataset is used.
>
>
>Thanks in advance :-)
>
>Best regards 
>Elisabeth Thorsen
>
>
>______________________________________________________
>Få den nye Yahoo! Messenger på http://no.messenger.yahoo.com/
>Nye ikoner og bakgrunner, webkamera med superkvalitet og dobbelt så morsom
>_______________________________________________
>This is the private VTK discussion list. 
>Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://www.vtk.org/mailman/listinfo/vtkusers
>
>
>  
>




More information about the vtkusers mailing list