My app only uses Redis for caching few keys, totall size is not so big. When app is not running Redis still keeps old keys so I can verify that it uses only 0.4% of awailable RAM.
RAM usage when app is not running
App does not adding new keys, theirs size are always same. App is just updating existing keys.
But when I’m starting app, it start overflowing RAM and app crashes. When app exits, RAM usage slows down to the beginning size.
RAM usage after 30 seconds app started
I can’t understand why it’s working like that. Redis keys and size are not changing, connecting instance also same because I’m using DI to provide same factory instance to all app modules.
Redis Factory
Any ideas? This is the las trouble I nned to fix but I can’t handle it for a long time.
Denis Hyrin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.