# Rasa InMemoryTrackerStore gets too big for long conversations

**URL:** <https://forum.rasa.com/t/rasa-inmemorytrackerstore-gets-too-big-for-long-conversations/56187>\
**Category:** Rasa Open Source\
**Created:** [November 16, 2022, 3:52pm UTC](https://forum.rasa.com/t/rasa-inmemorytrackerstore-gets-too-big-for-long-conversations/56187 "2022-11-16T15:52:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![llotus\_eater](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/llotus_eater/32/22988_2.png) [@llotus\_eater](https://forum.rasa.com/u/llotus_eater)\
**Post date:** [November 16, 2022, 3:52pm UTC](https://forum.rasa.com/t/rasa-inmemorytrackerstore-gets-too-big-for-long-conversations/56187/1 "2022-11-16T15:52:17Z")

</div>

Hi,

I’m wondering how do you deal with long conversations in Rasa, that take more than 1 hour?

I notice that `InMemoryTrackerStore` is storing all the events in the memory which slows down the performance very quickly. Setting `max_history` for `AugmentedMemoizationPolicy` and `TEDPolicy` doesn’t change much, since regardless of that all the conversation history is being stored in `InMemoryTrackerStore` anyway.

Did someone find a way to refresh `InMemoryTrackerStore` every now and then to keep the conversation history stored in memory shorter?

---

<div class="post-metadata">

**Author:** ![stephens](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/stephens/32/1632_2.png) [@stephens](https://forum.rasa.com/u/stephens)\
**Post date:** [November 18, 2022, 9:03pm UTC](https://forum.rasa.com/t/rasa-inmemorytrackerstore-gets-too-big-for-long-conversations/56187/2 "2022-11-18T21:03:37Z")

</div>

It’s not intended to be used in production environments. You should consider using Postgres, MongoDB or DynamoDB for the tracker.
