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

Ståle Langeland slange at statoil.com
Fri Jan 30 06:42:38 EST 2004


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.




More information about the vtkusers mailing list