spoolsv.exe consumes all CPU and RAM resources

22,084

Solution 1

SPOOLSV loads print drivers into its own process - uninstall the Brother print and the driver package (from Print Management) and see if the issue persists. If it does not then the problem is the print driver.

If it is the print driver, you will need to change it. My preferred Brother print driver is the BRSCRIPT driver, because it's very lightweight. But I checked and there is no BRSCRIPT driver for your MFC-8220. Try the latest Windows 7 64-bit driver from the Brother website, or try the Windows XP 64-bit driver (if it is a different package from the Windows 7 one).

http://welcome.solutions.brother.com/bsc/public/as/au/en/dlf/download_top.html?reg=as&c=au&lang=en&prod=mfc8220_as

A few people suggested using "Print Directly To Printer", if you consider that a "solution".

If that doesn't help, you may want to script the spool service to restart when it starts using > 100MB of RAM - again, that's if you consider it a "solution".

If you're hell-bent on solving this problem properly, XPERF the process when it's exhibiting high CPU and see where you're burning those CPU cycles. If it's inside a Brother DLL then send them an email.

Solution 2

It may be the common "corrupted print file" problem. Check under C:\WINDOWS\system32\spool\PRINTERS for any files that may be lingering. Delete them all and restart the print spooler service.

Share:
22,084

Related videos on Youtube

p.campbell
Author by

p.campbell

Developer in the Microsoft .NET & SQL Server stack. I am focused on delivering great applications in small iterations. I've developed solutions in the healthcare, manufacturing, and transportation verticals. My open source projects on GitHub. Continuously learning.

Updated on September 17, 2022

Comments

  • p.campbell
    p.campbell almost 2 years

    Consider a Windows 7 x64 installation with 2 printers installed. The system has 8GB installed RAM. One printer is a Brother laser MFC-8220 Printer via TCP/IP, and the other is a CutePDF printer.

    Problem: the spoolsv.exe regularly eats obscene amount of memory and CPU when the machine is idle. Usually the device is powered off. Turning it on has no effect on the RAM or CPU usage.

    The first consideration was that perhaps a print job has previously been sent to the Brother, but the queues are empty, and no jobs are waiting.

    These screenshots do not show, but regularly the spoolsv service will consume all 8GB and climb to use 95-100% of the CPU.

    alt text

    alt text

    The two printers - a Brother and the CutePDF printer both have 0 documents in their respective queues.

    Question: what measures can I take to ensure the spoolsv.exe doesn't consume inappropriate amounts of CPU and RAM?

    alt text

  • p.campbell
    p.campbell over 14 years
    @John - thank you for this suggestion. I've checked there, and no files (hidden or otherwise) were there.
  • John T
    John T over 14 years
    Interesting. Try installing the latest drivers for the printers.
  • bers
    bers over 8 years
    Fixed it for me. You may need to kill spoolsv.exe before deleting anything because it may have open file handles (had that even after rebooting).