# Increasing memory

**URL:** <https://community.cesium.com/t/increasing-memory/38132>\
**Category:** Cesium for Unity\
**Created:** [January 21, 2025, 3:51pm UTC](https://community.cesium.com/t/increasing-memory/38132 "2025-01-21T15:51:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![a87645507](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/a87645507/32/3476_2.png) [@a87645507](https://community.cesium.com/u/a87645507)\
**Post date:** [January 21, 2025, 3:51pm UTC](https://community.cesium.com/t/increasing-memory/38132/1 "2025-01-21T15:51:13Z")

</div>

When 3D tileset is turned on,  
cesium-request-cache.sqlite  
cesium-request-cache.sqlite-shm  
cesium request-cache.sqlite-wal,  
The size will continue to increase.

 ![7c87d803-9f0a-4559-a262-507ba6a3b7fd](https://global.discourse-cdn.com/cesium/original/3X/4/3/43b09531df587a9d2cd8eb319dad57a44102018d.png)

---

<div class="post-metadata">

**Author:** ![azrogers](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/azrogers/32/21672_2.png) [@azrogers](https://community.cesium.com/u/azrogers)\
**Post date:** [January 21, 2025, 7:30pm UTC](https://community.cesium.com/t/increasing-memory/38132/2 "2025-01-21T19:30:21Z")

</div>

Thanks for the question @a87645507! There is a limit on how large the cache can grow, which you can configure in the `CesiumRuntimeSettings.asset` file. The setting `Requests Per Cache Prune` configures how many requests can be cached before items will be removed from the cache, and the setting `Max Items` configures how many items will be left in the cache after it’s pruned. You should be able to find this file in the directory `Assets/CesiumSettings/Resources`.

---

<div class="post-metadata">

**Author:** ![a87645507](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/a87645507/32/3476_2.png) [@a87645507](https://community.cesium.com/u/a87645507)\
**Post date:** [January 22, 2025, 8:38am UTC](https://community.cesium.com/t/increasing-memory/38132/3 "2025-01-22T08:38:15Z")

</div>

Thank you for your response. According to my observations, the Requests Per Cache Prune and Max Items settings only clear existing caches when Unity is closed, and this functionality appears to be unreliable as it has successfully cleared caches on only two occasions. Is it feasible to implement a mechanism to limit the maximum cache size during Unity’s runtime?
