Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
60
UltraGrid does not release GDI objects fast enought and reach the limit of 10000 objects
posted

Hello,

We have a case when UltraGrid consumes all available 10000 GDI objects in seconds and throws exception during repaint, which leads to red cross displayed instead of grid data. It is happening when we have columns with custom render controls assigned using UltraControlContainerEditor and Garbage Collector is in server mode.

I am attaching a zip archive with the sample application to reproduce the issue. It is modified example from C:\Users\Public\Documents\Infragistics\2015.2\Windows Forms\Samples\CS\Grid\EmbeddableEditors\  Only two files are modified: app.config and EmbeddableEditors.cs

To reproduce the issue, launch the application and simply move mouse over the grid for a couple of seconds. In Task Manager you will see how GDI objects count is growing and soon enough you will get an exception.

Any solutions for the issue? Or alternative approach of displaying custom data without consuming so much resources?

Thanks,

Andrei Marukovich

EmbeddableEditors.zip
Parents
No Data
Reply
  • 21795
    Offline posted

    Hello Andrei,

    Thank you for posting in our forum.

    Can you please give more information related to your environment:

    • What is the operating system?

    • How much and what processors has the machine where this issue happens?

    Looking forward to your reply.

    Thank you for contacting Infragistics.

Children