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

Symptoms

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: 

Cause

This issue occurs because memory is overused for scale deployment.

Workaround

Important
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:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ddpsvc\Settings 
To do this, follow these steps:
  1. Start Registry Editor.
  2. Locate and then click the following registry subkey:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ddpsvc\Settings
  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.
Properties

Article ID: 2891882 - Last Review: Oct 17, 2013 - Revision: 1

Feedback