Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

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: 

↑ Back to the top


Cause

This issue occurs because memory is overused for scale deployment.

↑ Back to the top


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.

↑ Back to the top


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.

↑ Back to the top


Keywords: kbtshoot, kbexpertiseadvanced, kbsurveynew, kb

↑ Back to the top

Article Info
Article ID : 2891882
Revision : 1
Created on : 1/7/2017
Published on : 10/17/2013
Exists online : False
Views : 674