Skip to content
Back

Memory error during migration

  • 0
  • Self Hosted
  • General
panda_p
25 Oct, 2025, 16:19

Appwrite migration crashes with the following message: Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 33554440 bytes) in /usr/src/code/vendor/utopia-php/database/src/Database/Document.php on line 431

Is there a way to increase PHPs allowed memory? Or do I need to do something else?

TL;DR
Developers encountered a memory error during migration, with a message indicating the PHP memory size limit. To resolve this issue, they can increase the memory limit in the PHP configuration file or optimize the migration process to require less memory.
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