Garbage-collection jobs are canceled and event ID 4142 is logged in Windows Server 2012 and Windows Server 2012 R2

Vzťahuje sa na: Windows Server 2012 StandardWindows Server 2012 StandardWindows Server 2012 Datacenter


Data deduplication garbage-collection jobs are canceled in Windows Server 2012 and Window Server 2012 R2. Additionally, you receive the following message in the event log: 


This issue occurs because memory is overused for scale deployment.


Follow the steps in this section carefully. Serious problems might occur if you modify the registry incorrectly. Before you modify it, back up the registry for restoration in case problems occur.

To work around this issue, create the GarbageCollectionMemoryFactorPercent registry entry in the following registry subkey:
To do this, follow these steps:
  1. Start Registry Editor.
  2. Locate and then click the following registry subkey:
  3. On the Edit menu, click New, and then click DWORD(32-bit) Value.
  4. Type GarbageCollectionMemoryFactorPercent, and then press Enter.
  5. Right-click GarbageCollectionMemoryFactorPercent, and then click Modify.
  6. Click Decimal, type 200 in the Value data box, and then click OK.

    Note This allocates 67 percent more memory for garbage-collection jobs and makes sure that a full garbage-collection job has sufficient memory. 
  7. Exit Registry Editor. You do not have to restart the computer to make the new registry entry take effect.

More Information

For more information about data deduplication, see About Data Deduplication.

For more information about how to install and configure data deduplication, see Install and Configure Data Deduplication.