I have a 2009 iMac running 10.8.5 and encountered the dreadful error 10810 (in conjunction with stalling and ultimately freezing).
After running "exec ps gaxlww" on the Terminal, I saw that the process causing trouble (too many entries filling up the table) was the Twainbridge application in Image Capture (in the Systems/Library folder), which is used in connection to my Canon Lide 70 scanner. This was confirmed by removing the application, after which everything was running smoothly - was was however strange because I hadn't changed the software at all for a long time.
What I discovered was the ultimate cause of this was that I had unplugged the USB hub that was powering the scanner - so the scanner communicated with the Mac but probably did not have enough external power to follow through tasks. When I simply plugged the USB back in, the process overflow stopped and everything went back to normal.
Hope that helps someone with this particular instance of the problem!