# Unit\_images & compiled\_unit\_sections taking up too much memory

**URL:** <https://www.singlestore.com/forum/t/unit-images-compiled-unit-sections-taking-up-too-much-memory/7848>\
**Category:** Workload Profiling\
**Created:** [August 7, 2024, 11:33am UTC](https://www.singlestore.com/forum/t/unit-images-compiled-unit-sections-taking-up-too-much-memory/7848 "2024-08-07T11:33:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bhaskar](https://www.singlestore.com/forum/letter_avatar_proxy/v4/letter/b/f4b2a3/32.png) [@bhaskar](https://www.singlestore.com/forum/u/bhaskar)\
**Post date:** [August 7, 2024, 11:33am UTC](https://www.singlestore.com/forum/t/unit-images-compiled-unit-sections-taking-up-too-much-memory/7848/1 "2024-08-07T11:33:03Z")

</div>

Hi Guys,

Currently We have S-00 plan, unit\_images & compiled\_unit\_sections is taking up almost 1 GB each. We are not sure why. May be our plan expiration is 12 Hours.

What data does this memory holds and what all factors affect it? We want to basically reduce memory consumption of this as much as possible.

---

<div class="post-metadata">

**Author:** ![pgaddigopula](https://www.singlestore.com/forum/letter_avatar_proxy/v4/letter/p/77aa72/32.png) [@pgaddigopula](https://www.singlestore.com/forum/u/pgaddigopula)\
**Post date:** [August 12, 2024, 10:38am UTC](https://www.singlestore.com/forum/t/unit-images-compiled-unit-sections-taking-up-too-much-memory/7848/2 "2024-08-12T10:38:35Z")

</div>

Hi Bhaskar,

Thanks for the post in the forum.

If you don’t need the plans then run the following command to evict the plans.

set global plan\_expiration\_minutes=0;

To remediate this you can change it to 6 hours or less based on your requirement.

**Note: Always try this on Non-Prod systems first and do a thorough sanity check before implementing anything in Production.**
