GDI (Graphics Device Interface) objects are a fixed Windows resource responsible for representing graphical objects. Each GDI object is private to a process, meaning only the process that created the GDI object can use the object handle.
Each process, including LabVIEW.exe is limited by Windows to 10,000 GDI objects, and requests for more GDI objects causes LabVIEW to crash. This crash is caught by NI Error reporting tool (NIER) as DAbort in image.cpp or drawmgr.cpp.To confirm that excess GDI usage is the cause of the crash, use Windows Task Manager to view how many GDI Objects are being consumed by LabVIEW. For Windows 10, GDI values are not shown by default. You need to go to details table in Task manager -->Right click on "Name" Colums and "Select columns".