To resolve this issue, change the write caching policy. To change the write caching policy for a repository to off and reclaim the memory that was being used:
- Stop the core service gracefully
- Open regedit and browse to the registry folder HKLM\Software\AppRecovery\Core\Repositories\\FileConfiguration\X\Specification\
where:
X will be different for each repository
X will be different for each extent - Change the registry key WriteCachingPolicy to decimal value of 3
- When the WriteCachingPolicy is 2 (ON), means Windows controls the write caching. Setting the write caching policy to ON can result in faster performance, however, the recommended setting is OFF
- The recommended WriteCachingPolicy is 3 (OFF), which disables Windows write caching, thereby enabling Rapid Recovery to control the write caching. Rapid Recovery will use write caching to ensure that the repository isn’t flooded with more incoming data than outgoing traffic
- If set to 4 (Sync), Windows controls the caching as well as the synchronous input/output. It has been proven beneficial to set the WriteCachingPolicy to Sync while troubleshooting issues related to performance or application crashes during the execution of a specific task.
- Make this change for each extent in each repository
- Download RAMMAP from Microsoft – RAMMap - Windows Sysinternals | Microsoft Docs
- Using RAMMAP empty the Standby List to free up all standby memory
- Open RAMMAP
- In the menu bar choose Empty -> Empty Standby List
- Refresh RAMMAP by choosing File -> Refresh
- You should now see a considerable change in the amount of memory used
- Start the core service.
Note: Please do not change the WriteCachingPolicy to 3 for the repository extension, that is residing on the storage with non-standard bytes-per-sector value. The standard value is 512. Otherwise, repository will not mount.
Windows Registry Disclaimer:
Quest does not provide support for problems that arise from improper modification of the
registry. The Windows registry contains information critical to your computer and applications. Make sure you back up the registry before modifying it. For more information on the Windows Registry Editor and how to back up and restore it, refer to Microsoft Article ID 256986 “Description of the Microsoft Windows registry” at Microsoft Support.
__________
Is your Rapid Recovery solution working as efficiently as possible? Learn more about our
Rapid Recovery Health Check.