[vtkusers] vtkPanel crash my PC - graphics device interface objects are not released
Ståle Langeland
slange at statoil.com
Mon Feb 2 06:02:02 EST 2004
Thank's a lot Shyam. The fix solved our problem.
-- Staale
|--------+-------------------------------------->
| | "Shyam Prakash" |
| | <ramakrishna.prakash at quest-g|
| | lobal.com> |
| | |
| | 30.01.2004 13:11 |
| | |
|--------+-------------------------------------->
>----------------------------------------------------------------------------------------------------------|
| |
| To: Ståle Langeland at Statoil, <vtkusers at vtk.org> |
| cc: (bcc: Ståle Langeland) |
| Subject: RE: [vtkusers] vtkPanel crash my PC - graphics device interface objects are not |
| released |
>----------------------------------------------------------------------------------------------------------|
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
-------------------------------------------------------------------
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