Skip to content
Back

Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 28672 bytes)

  • 0
  • 2
  • Self Hosted
22 Jul, 2026, 04:55

Hi how solved it worker-messaging infinite reload Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 28672 bytes) in /usr/src/code/vendor/utopia-php/cache/src/Cache/Adapter/Redis.php on line 39 Appwrite 1.8.1

TL;DR
Issue causing memory exhaustion error due to code trying to allocate more memory than allowed. Check executor settings and logs for more details. Error specifically tied to Redis cache adapter. Deleting post related to schedule-messages but issue persists even after resetting Redis container.
22 Jul, 2026, 04:55

Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 28672 bytes)

22 Jul, 2026, 07:07

can you share more info ?

when does it happen ? do you have logs ?

looking at the error, i think it's an executor issue, where the code tried to allocate more than the specification you gave

22 Jul, 2026, 07:07

root@vmi2229565:~# docker logs --since 5m appwrite-task-scheduler-messages 2>&1 | grep -iE 'fatal|error|exception|memory exhausted' Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /usr/src/code/vendor/utopia-php/cache/src/Cache/Adapter/Redis.php on line 46 Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /usr/src/code/vendor/utopia-php/cache/src/Cache/Adapter/Redis.php on line 46 Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /usr/src/code/vendor/utopia-php/cache/src/Cache/Adapter/Redis.php on line 46 Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /usr/src/code/vendor/utopia-php/cache/src/Cache/Adapter/Redis.php on line 46 Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /usr/src/code/vendor/utopia-php/cache/src/Cache/Adapter/Redis.php on line 46 Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /usr/src/code/vendor/utopia-php/cache/src/Cache/Adapter/Redis.php on line 46 Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /usr/src/code/vendor/utopia-php/cache/src/Cache/Adapter/Redis.php on line 46 Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /usr/src/code/vendor/utopia-php/cache/src/Cache/Adapter/Redis.php on line 46 Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /usr/src/code/vendor/utopia-php/cache/src/Cache/Adapter/Redis.php on line 46

22 Jul, 2026, 07:08

oh intressting, never had that myself, but seams related to redis.

is it the only container to do that ?

22 Jul, 2026, 07:08

Hi, I accidentally deleted the post, but I see that the issue is happening in the schedule-messages section, causing it to constantly reset due to this error. The messages are still being sent, though.

22 Jul, 2026, 07:09

I reset the redis container but nothing changed

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