The default PHP memory limit on Application Hosting is 128MB for all PHP versions. If your application exceeds this limit, you may see an error similar to the following in your application logs:

Detected 1047468200 Bytes of RAM

PHP memory_limit is 128M Bytes

To increase your application’s memory limit, create a .user.ini file in the application’s root directory and add the memory limit setting to the file. For example, if you want to increase the PHP memory limit to 256MB, add the following:

memory_limit = 256M

Related Documentation