title: What's the upper limit on GDI objects for one process in Windows 7?
body: <p>Have an application with a GDI leak that will eventually hit 10,000 allocated GDI objects and crash.  I tried increasing the <a href="http://msdn.microsoft.com/en-us/library/windows/desktop/ms724291%28v=vs.85%29.aspx" rel="noreferrer">GDIProcessHandleQuota</a> to 20,000, but the program still crashed when it reached 10,000 objects.  We're currently working on patching this leak, but out of curiosity--is there a way to increase the GDI limit for a single process?  Or is 10k an individual application's hard limit?</p>