4 months 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
4 months 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!
4 months 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 • 4 months ago
4 months 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?
4 months 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.
4 months 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
4 months 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
4 months 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
4 months 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
4 months ago
Thanks, I have restarted the service and am monitoring further for any action.