This is a migrated thread and some comments may be shown as answers.

Limiting Cache Size

1 Answer 69 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
cody
Top achievements
Rank 1
cody asked on 19 Sep 2017, 02:27 PM

We have been working with Telerik for around six months now. Everything has been functioning fine; however, it seems recently we are experiencing problems with the Cache eating up a few GBs on our virtual server. This leads to us not being able to load reports unless we login remotely and delete the Temp folder for the reporting. We are looking for a long term solution. We are working on increasing space on our server; however, we would like to be able to somehow limit the cache size (which would hopefully make things a little more predictable). I've also thought about tying into the database for caching; however, I'm hesitant to do that because I don't know how much space it would take up.

1 Answer, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 25 Sep 2017, 11:00 AM
Hello Cody,

We can suggest the following solutions to the described issue:
  1. Since there is no out-of-the-box mechanism that we provide to monitor cache size, you could schedule a task on the server to check the cache size and delete it if necessary. This might be a simple exe which runs periodically to check the cache size and delete the cache folder contents if it exceeds the max cache size.
  2. Switch to database/redis storage. More details can be found here. You can schedule database maintenance from the database management system.


Regards,
Nasko
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
cody
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Share this question
or