Temporary folders of ArcGIS Runtime

466
1
04-24-2012 06:30 AM
Labels (1)
BKuiper
Occasional Contributor III
Hi,

It seems that ArcGIS Runtime creates a couple of temporary folders that are never cleaned up

(On Windows 7)

- C:\Users\<username>\Documents\ArcGIS\Packages
- %TEMP%\arcgisruntime_xxxx

I understand that the folders in the TEMP folder will not be automatically cleaned, but what about the ones in the packages folder.

Is there anything we, as a developer can do, to prevent the amount of space that is accumulated after each run ? Can we free the space used in the Packages folder through the API ?

Thanks!
1 Reply
MichaelBranscomb
Esri Frequent Contributor
Hi,

The ArcGIS Runtime does not do anything to clean up the package unpack folder (C:\Users\<username>\Documents\ArcGIS\Packages) in order that the unpacked package contents can be reused between application sessions. The original package file and the unpacked contents will first be compared to determine whether the package is newer in which case it will be unpacked again.

Any files/folders in %temp% called %TEMP%\arcgisruntime_xxxx should be cleaned up during the local server shutdown. If this is not the case, and you have a reproducer application/data that you can share, we'd be keen to test it.

Providing API support for specifying the unpack location and the temp location is on the future roadmap.

Cheers

Mike