Applies to: Windows 10, Windows 11
Symptoms
When an application uses the OpenPrinter, StartDocPrinter, EndDocPrinter, and ClosePrinter functions to print documents, a small memory leak might occur. In addition, you might see increased memory usage in applications that print many documents.
Cause
Print.PrintSupport.Source.dll is a system printing component that might leak approximately 300 bytes for each printed document.
Workaround
To mitigate this issue, use one of the following methods:
-
As a customer or IT audience, you can periodically restart long-running processes that print many documents.
-
As an application developer, you can design the application to print each document in a separate process.
Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
