Potential memory leak on Digital Ocean #2351
Unanswered
gustavoconter
asked this question in
Q&A
Replies: 1 comment
-
I think this might be related to #2138 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! I have a Nuxt 3 app with SSR enabled running on Digital Ocean's App Platform, my app is an e-commerce store and we cache a lot of data, but we have a very short cache span (usually 5 minutes). By default, Nitro uses the memoryDriver to store cache, and every 6 hours our app would immediately restart when it reached 100% RAM usage.
Yesterday, I have switched the default storage driver to the
fs
driver, and at this moment, it seems that our app has a stable memory consumption.However, while inspecting the app filesystem, I noticed that most of the saved route cache persists of the same with a different suffix.
Example:
So far I have concluded that even if memory leak it not happening at this moment, our file storage is rapidly increasing in size.
Any ideas on why this happens? Is this the expected behavior, and should I programmatically delete the cache files?
Any help would be much appreciated 🙏
Beta Was this translation helpful? Give feedback.
All reactions