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
https://www.dash-extensions.com/
MIT License
409 stars 58 forks source link

FileSystemBackend keeps data in Memory instead of FileSystem #268

Closed zariiii9003 closed 1 year ago

zariiii9003 commented 1 year ago

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.

emilhe commented 1 year ago

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

zariiii9003 commented 1 year ago

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