How many GDI objects are there?
What does GDI mean? Windows uses the Graphics Device Interface (GDI) which is a core component in the Windows OS. It is responsible for display and printer data/communication. Not too many people know that all Windows versions limit the system wide amount of allocated GDI objects to 65,536. There is a system registry value setting the maximum number of GDI objects each program can allocate to 10,000. The theoretical limit is of 65,536 GDI handles per session. Keep in mind that the maximum number of GDI handles that can be opened per session is usually lower. The main idea is that it is seriously affected by available memory.