Skip to content
Poorva Cloud

App runs out of memory

Each service of an app has a fixed memory limit. When it is reached the service is stopped and restarted. Here is how to spot it and what to do.

Updated 25 November 2026

Symptoms

  • The app restarts by itself, often under load. Visitors see 502 Bad Gateway for a moment.
  • Logs show words such as killed, out of memory or Allowed memory size exhausted.
  • Large uploads, imports or reports fail halfway.

Cause

Each app gets its own share of the server. Every service of the app (for example the web service and the database) has a fixed memory limit set by the app's template. These limits stop one app from using all the server's memory and slowing down the others.

There are two kinds of memory problem:

  • The service hit its limit. The system stops the service and it starts again automatically. Everything it was doing is lost.
  • The app's own setting was too low. PHP apps have their own memory setting per request. When a page needs more, PHP stops it with "Allowed memory size exhausted" and the visitor gets a 500 error, but the service keeps running.

Memory use grows with traffic, plugins, caches and large jobs.

How to fix

  1. Open the app's Logs tab and search for memory and killed to see which kind of problem you have.
  2. Remove or replace heavy plugins, and stop large imports or reports during busy hours.
  3. Use caching inside your app so fewer pages are built from scratch.
  4. Press Restart to bring the app back to a clean state after a crash.
  5. If memory problems return with normal traffic, the app needs more room. A service's limit comes from the app's template and cannot be raised from the console today. See You need a larger server.

When to raise a ticket

Use Raise a ticket on the Support page if the app runs out of memory with normal traffic, or you want advice on a larger size. Include the app name, the server name, the log lines that mention memory and the times it happened.

Never include passwords, private keys or API keys.

Was this helpful?

Still need help?

24/7 support from our team. Sign in to the console to raise a ticket about this.

Raise a ticket