laptop and a wrench

Bug

The Layer.ClearDisplayCache method does not clear the local cache.

Last Published: June 30, 2021 ArcGIS Pro SDK for .NET
Bug ID Number BUG-000140849
SubmittedJune 19, 2021
Last ModifiedJune 11, 2026
Applies toArcGIS Pro SDK for .NET
Version found2.7
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusAs Designed

Additional Information

This is as designed. Refer to the help excerpt below for more information: https://github.com/Esri/arcgis-pro-sdk/wiki/ProConcepts-Map-Authoring#display-and-feature-cache Note: The SDK does not support selectively deleting image tile caches from the display cache. This is by design. Calling [layer.ClearDisplayCache()](https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic11762.html) clears the cache, invalidates the memory being used, and returns it to the cache memory pool for reuse. However, the underlying cache files will not be deleted from disk. To delete the files via the UI, navigate to Project > Options (on the backstage) > Display > Clear cache now. The local cache folder location is also available in the Display options. It is typically set to C:\Users\my_user_name\AppData\Local\ESRI\Local Caches. To delete the files manually, close all running instances of ArcGIS Pro and simply delete the relevant files. Typically, image tiles are cached in the sub-folder BmLCacheV2.

Steps to Reproduce

Bug ID: BUG-000140849

Software:

  • ArcGIS Pro SDK for .NET

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options