[vtkusers] vtkPanel crash my PC - graphics device interface objects are not released

Shyam Prakash ramakrishna.prakash at quest-global.com
Fri Jan 30 07:11:08 EST 2004


This was a problem with java. However a patch has been applied. Get
vtkJavaAwt.h revision 1.19 or later and build vtk.
http://public.kitware.com/cgi-bin/cvsweb.cgi/VTK/Common/vtkJavaAwt.h


--Shyam


> -----Original Message-----
> From: vtkusers-admin at vtk.org [mailto:vtkusers-admin at vtk.org] On Behalf
Of
> Ståle Langeland
> Sent: Friday, January 30, 2004 5:13 PM
> To: vtkusers at vtk.org
> Subject: [vtkusers] vtkPanel crash my PC - graphics device interface
> objects are not released
> 
> I'm  using vtkPanel in my java application.
> Recently I discovered that this class was extensively consuming GDI
> objects.
> After some time the max limit of GDI objects was reached and my PC
started
> to act weird (display flickering etc).
> 
> I'm using WIN2000, but the same thing happened on XP.
> 
> Is this a bug in the vtk C code ?
> Can someone else verify this behavior by running
> vtk42\Wrapping\Java\TestVTKCanvas.java ?
> GDI consumption can be monitored with Windows Task Manager
> 
> What GDI is :
> The graphical component of the Microsoft Windows graphical environment
is
> the graphics device interface (GDI).
> It communicates between the application and the device driver, which
> performs the hardware-specific functions that generate output.
> By acting as a buffer between applications and output devices, GDI
> presents
> a device-independent view of the world for the
> application while interacting in a device-dependent format with the
> device.
> 
> 
> Regards Ståle Langeland
> 
> -------------------------------------------------------------------
> The information contained in this message may be CONFIDENTIAL and is
> intended for the addressee only. Any unauthorised use, dissemination
of
> the
> information or copying of this message is prohibited. If you are not
the
> addressee, please notify the sender immediately by return e-mail and
> delete
> this message.
> Thank you.
> 
> _______________________________________________
> 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