emilhe / dash-extensions

The dash-extensions package is a collection of utility functions, syntax extensions, and Dash components that aim to improve the Dash development experience

Home Page:https://www.dash-extensions.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FileSystemBackend keeps data in Memory instead of FileSystem

zariiii9003 opened this issue · comments

I create the cache with cache_backend = FileSystemBackend(cache_dir=CACHE_DIR) but i noticed, that the cache directory remains empty. Tracemalloc shows a high RAM usage of cachelib:
image

I have the following versions installed:

Python 3.10.11

dash                      2.10.2
dash-bootstrap-components 1.4.1
dash-core-components      2.0.0
dash-extensions           1.0.1
dash-html-components      2.0.0
dash-table                5.0.0

Flask-Caching             2.0.2
cachelib                  0.9.0

dash-extensions 0.1.13 worked fine for me.

Could you post an MWE (i.e. a small piece of code that runs) demonstrating the issue?

After a restart this did not happen anymore. I don't know why...
Closing for now, i'll reopen if it happens again.