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
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.
It is happening on 64-bit Windows 7, on various machines. For example on mine Dell Optiplex 990 with 16GB of memory and Intel Core i7-2600 @ 3.40 GHz. Hyper-threading is on so I have 8 logical cores.