Buy the ARP T-Shirt! BIOS Optimization Guide Money Savers!
 
 11 September 2013
 N/A
  N/A
 Editorials
 Dr. Adrian Wong
 2.0
 Discuss here !
 10396
 
   
Mobile GPU Comparison Guide Rev. 16.3
These days, there are so many mobile GPU models that it has become quite impossible t... Read here
BIOS Option Of The Week - CPU Drive Strength
Since 1999, we have been developing the BIOS Optimization Guide, affectionately known... Read here
   
Buy The BOG Book Subscribe To The BOG! Latest Money Savers!
ED#158 : How To Fix GDI Leaks In Internet Explorer 10 and 9 Rev. 2.0
Digg! Reddit!Add to Reddit | Bookmark this article:

ED#158 : How To Fix GDI Leaks In Internet Explorer 10 and 9

Thanks to better memory management in Microsoft Windows 8 and Windows 7, it is now common for users to run half a dozen or more applications at the same time for days and weeks. In fact, I have about a dozen applications running at any one time, with one of them being Internet Explorer.

Despite its declining popularity, Microsoft Internet Explorer remains an important web browser with many corporate users. The belated introduction of Internet Explorer 10 breathed new life into this web browser by adding support for new web standards, improving security and fixing bugs. Its stability was also greatly improved, allowing for 20-30 tabs to be opened at a time without any issue.

However, Internet Explorer 10 seems to suffer from the same GDI leaks as Internet Explorer 9, causing pages to stop displaying properly or not at all. This is less of a problem with Internet Explorer 10, usually happens after days of use, but it's still there. Eventually, it becomes impossible to use the browser and the only way to "fix the problem" is to close Internet Explorer and start it up again. Sometimes, Internet Explorer would crash by itself.

This may seem like a minor issue, and it may be just that for you, but if you are making a long forum post or have just typed out a long reply on Facebook, a sudden crash or display issue with the browser may erase all that hard work and force you to redo your missive after restarting Internet Explorer. This actually happened to me more than a few times so I know just how frustating it is.

Check out a few examples of display issues when Internet Explorer leaks too much. I didn't bother with the screenshots of pages that completely refuse to load - you would see nothing but a blank page.

Backdoors found in Bitlocker, FileVault and TrueCrypt?

If you like this article, please share it! ->

 

So How Do We Fix It?

Well, we cannot actually fix the GDI leak in Internet Explorer. That's Microsoft's job. But we can workaround the problem, and extend the "quota" on GDI objects, so that Internet Explorer won't face these display issues. Just follow these steps :

  1. Look for the Registry Editor by clicking on the Start button in Windows 7, and typing regedit in the Search form. In Windows 8, just type regedit in the Metro interface.

  2. When you see regedit.exe (in Windows 7) or regedit (in Windows 8), click on it to launch the Registry Editor.

  3. A UAC (User Account Control) pop-up will appear, asking if you want to allow the Registry Editor to make changes to your computer. Click Yes.

  1. When the Registry Editor loads, go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows, and look for GDIProcessHandleQuota.

  1. Double-click on GDIProcessHandleQuota and you will see it has a hexadecimal value of 2710. Meaningless to most of us.

  1. Click on the Decimal radio button to convert the hexadecimal value of 10000. That is the number of GDI handles that Windows allows per session.

  1. Change that value to 50000, which is 5X the default value and close to Windows' theoretical limit of 65,536 GDI handles per session. Then click OK.

  1. If you prefer to key in the hexadecimal value, just key in c350 (making sure that the Hexadecimal radio button is selected). After keying the new value, click OK.

  1. The Registry Editor should show that GDIProcessHandleQuota now has the value of 0x0000c350 (50000).

  1. Close the Registry Editor and restart Windows. Once you restart Windows, it will have a new GDI object handle limit and Internet Explorer should no longer crash or exhibit display issues after prolonged use.

Satellite TV going bonkers? Blame your DECT phone!

If you like this article, please share it! ->

 

This Is Too Confusing!

If you are not comfortable following the instructions above, you can download this ZIP file we have prepared. It contains two files, the details of which you can see in the screenshot below. After downloading, please check to verify that the files inside are exactly as displayed.

  1. You can either extract the files to a folder, or run them directly from the ZIP file.

  2. To increase the quota on GDI object handles from 10,000 to 50,000, just double-click on the GDI_quota_50K.reg file.

  3. A UAC (User Account Control) pop-up will appear, asking if you want to allow the Registry Editor to make changes to your computer. Click Yes.

  1. Another pop-up will appear, this time warning you that running this registry file can cause problems if you have downloaded it from an untrustworthy source. Well, we are a trustworthy source, right? So, click Yes.

  1. After the Registry Editor is done importing the new values for the GDI object handle quota, you will receive this notification pop-up.

  1. That's it! Just click OK and restart Windows. Once you restart Windows, it will have a new GDI object handle limit and Internet Explorer should no longer crash or exhibit display issues after prolonged use.

ActiveX Filtering in Internet Explorer kills Adobe Flash Player

If you like this article, please share it! ->

 

Other Scoops

If you have a scoop you want to share with us, just contact us! It doesn't have to be Internet-related. It can be anything in the tech industry, from mobile phones to P2P software. Just drop us a message!

 

Support Tech ARP!

If you like our work, you can help support out work by visiting our sponsors, participate in the Tech ARP Forums, or even donate to our fund. Any help you can render is greatly appreciated!

 

Questions & Comments

If you have a question or comment on this editorial, please feel free to post them here!

Date

Revision

Revision History

05-09-2013

1.0

Initial Release.

11-09-2013

2.0

Added a new This Is Too Confusing! section.
Added a link to our registry files.
Corrected a few mistakes in the guide.





 
   
Western Digital Caviar Green (Advanced Format) 1 TB Hard Disk Drive Review
Intel Core i7-975 Extreme Edition Processor Review
The ASUS Eee Box B204 & B206
Sparkle GeForce 8600 GTS Graphics Card Review Rev. 3.0
NVIDIA Launches GeForce 7 mGPUs For Intel LGA775 Platform
AMD Quad-Core Opteron (Barcelona) Technology Report
Kingston 256MB microSD Card Review
Mushkin 2GB HP3200 Dual Channel Memory Kit Review
Jetart ThermoEye DT2000 Thermometer Review
Chenming ATX-602 Aluminium Case Review Rev. 1.1

 


Copyright © Tech ARP.com. All rights reserved.