Last week I was working and suddenly PC started acting strange. It had lag and the UI of Adobe Reader X was almost totally disposed.
The first thing that I did was checking the number of GDI objects from Adobe Reader X. If the UI is having problems drawing itself and the program is not responding as it should be, that could be a good place to start your search.
Checking the GDI objects in Windows is very simple:
Press Ctrl+Shift+Esc to open the Task Manager
Select the [Processes] tab
Add the GDI Objects column by clicking [View] > [Select Columns…] and check [GDI Objects]
Now find your Adobe Reader X process in the list and check how much GDI Objects it has.
The limit of GDI Objects per process is 10000 in Windows, and that is what I actually saw.
The problem occurs when you open a PDF file and press Ctrl+F and search for some text. You will not notice the leak if you don’t use (= scrolling and searching) the PDF file for a while.
By scrolling the document, everything works fine but if you search the document it will leak GDI handles and if you scroll after you triggered the leak, every scroll will increment the leaked handles.
Blittable types are data types in software applications which have a unique characteristic. Data are often represented in memory differently in managed and unmanaged code in the Microsoft .NET framework. However, blittable types are defined as having an identical presentation in memory for both environments, and can be directly shared. Understanding the difference between blittable and non-blittable types can aid in using COM Interop or P/Invoke, two techniques for interoperability in .NET applications.
Wouldn’t it be great to link any object directly to a ‘video memory’ or an article of text describing its history or background? Tales of Things allows just that with a quick and easy way to link any media to any object via small printable tags known as QR codes. How about tagging a building, your old antique clock or perhaps that object you’re about to put on eBay?
Short history: I have some memory card slots in my laptop and the drivers never worked. Not in Windows XP, Vista or 7. Suddenly I received an alert from the Action Center telling me that there is an old driver available that has been updated.
So I downloaded this driver just by clicking the link (didn’t have to search in the jungle of Acer drivers on their site).
And here is the result:
Thanks Windows 7! Without this automatic check I would never have known that there was an old updated driver version available.
I really tried all drivers available for my laptop and they never worked or were not compatible. So I gave up on this and said to myself “ah, not so bad it’s only one memory card slot that doesn’t work”. But hey! now it works (after 4 years?) :D 😀
P.S.: Thanks Acer for fixing and updating that old driver 😉