Memory Leak on Server with Railway #2755
-
The medusa server has a memory leak on railway, so the server shuts down after a couple of minutes...
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
@fxmb Have you set up Redis? If you are deploying without a production-ready Redis server, we default to a fake instance, that consumes quite a lot of memory. This might be the culprit. |
Beta Was this translation helpful? Give feedback.
-
@olivermrbl thanks for pointing this out. We have configured redis exactly according to the docs here I have not specified any prod specific Redis configurations though... At least there were none referred to in the docs:
Any help here is highly appreciated 🙏 |
Beta Was this translation helpful? Give feedback.
@fxmb Have you set up Redis? If you are deploying without a production-ready Redis server, we default to a fake instance, that consumes quite a lot of memory. This might be the culprit.