Back

Constantly rising memory usage

  • 0
  • Self Hosted
  • Flutter
DennisLBC
21 Aug, 2024, 05:07

Hello I have a flutter app (web and mobile) that I am in the process of soft launching and I am terrified because my memory usage is continually rising. I am on 8cpu and 16gb of memory. I had a peak of about 100 concurrent connections earlier and memory was up around ~50%, now there's only about 40 and memory is still rising. I am using realtime, and not shown in the charts but its using about 5% of the memory right now but that doesn't seem to be the issue - the issue seems to be these php connections that seem to be taking ~1% each and there's a lot of them, and I am terrified that if I ramp up users I will wipe out my memory.

I searched the docs and upped the app maintence from 24 hours to every 6 hours. I am not sure if I should move it way up to like an hour? Are there any other settings I should check?

TL;DR
Flutter app experiencing constantly rising memory usage, especially with PHP connections. Realtime using about 5% memory. Consider reducing app maintenance frequency to every hour. Keep an eye on PHP connections and adjust settings accordingly.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more