a month ago
Hi, please help me check why RAM suddenly increased, while my user, request volume did not increase. I see this abnormality.
Attachments
8 Replies
a month ago
Hey there! We've found the following might help you get unblocked faster:
If you find the answer from one of these, please let us know by solving the thread!
a month ago
This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.
Status changed to Open brody • about 1 month ago
a month ago
this seems an app issue, I'd probably try to just redeploy, do you save stuff in a memory cache?
fra
this seems an app issue, I'd probably try to just redeploy, do you save stuff in a memory cache?
a month ago
my app is very simple, it's just api connecting to postgresql and r2 cloudflare to store images, ram was still low before, my latest deploy on 31st, RAM spiked at 22:00 time zone +7 on 02/11/2025, but at that time it seems the number of users was very low, it can't spike like that. I don't know what the problem is.
a month ago
how do you upload the files? directly in R2 or do you upload in your app and then R2?
if you upload trough the app, can it be that someone uploaded a very big file?
there seems to be a spike in the network as well when you had the spike in memory, maybe they are related
a month ago
This is my api upload file, can you please review it for me? my limit is 20mb, if there is a sudden change at a certain time, why does it last from 22:00 to now? is it not released and stuck? Thank you.
https://drive.google.com/file/d/1suOh7KdtON2hSgwt0lc3kSjQUcKiFl9v/view?usp=sharing
fra
how do you upload the files? directly in R2 or do you upload in your app and then R2?if you upload trough the app, can it be that someone uploaded a very big file?there seems to be a spike in the network as well when you had the spike in memory, maybe they are related
a month ago
This is my api upload file, can you please review it for me? my limit is 20mb, if there is a sudden change at a certain time, why does it last from 22:00 to now? is it not released and stuck? Thank you.
https://drive.google.com/file/d/1suOh7KdtON2hSgwt0lc3kSjQUcKiFl9v/view?usp=sharing
a month ago
can you try to redeploy the service? hopefully that's should reduce the memory, then you should just debug your app, add logs, check memory consumption and do some load test locally
fra
can you try to redeploy the service? hopefully that's should reduce the memory, then you should just debug your app, add logs, check memory consumption and do some load test locally
a month ago
Thanks, I have restarted the service and am monitoring further for any action.