2 years ago
Hi, I'm maintaining a web-3 service on Polygon network basically an API that we use, and once in a while I get this huge spike on memory which I do not understand where this is coming from. We have a small user base and I'm a bit skeptical. Can you help?
17 Replies
also experienced this around end of June, which resulted to a huge payment as well (already paid)

the downtimes is me restarting the service, which results to me restarting it every day now or so, it seems to me that there is a memory leak happening, any ideas that can help me track it?
2 years ago
I think this question would better be asked in some kind of mongo forum or community as railway is simply running the stock MongoDB image and reporting on how much memory it's using
this is the MongoDB instance it's connecting on - which I don't have a problem with

2 years ago
oh my bad, your title mentioned mongo so i assumed these screenshots where for the mongo service.
is api service on the v2 runtime?
2 years ago
in the service settings
2 years ago
then there wouldnt be issues with memory reporting, thats simply what your app is using
hmmm could there be a chance that a user is hitting the API multiple times as a script?
2 years ago
it looks like a memory leak to me, so either an issue with your own code, or a 3rd party library you are using
2 years ago
im sorry but this is not the level of support we could provide as it does not relate to railway, im sure there are many great tutorials on how to tackle this
2 years ago
i wish you the best of luck!
