Common conflict in Plesk: the Allowed memory size of X bytes exhausted (tried to allocate Y bytes)

Common conflict in Plesk: the Allowed memory size of X bytes exhausted (tried to allocate Y bytes) in Linux.

Date posted: 25/07/2019

Introduction

The error will occur due to the memory limit is exceeded by Plesk PHP back-end.

Moreover, this memory exceeded will results in unable to extract the big files in PLESK CONTROL PANEL.

Sample error for reference

Most importantly following errors appears in Plesk GUI:

ERROR: the Allowed memory size of 1629073 bytes exhausted (tried to allocate 96 bytes)

ERROR: Out of memory (allocated 23866324) (tried to allocate 12997459 bytes) (Abstract.php:71)

Solution

  1. Login to Plesk server via SSH access.

2. Meanwhile, open the Plesk PHP configuration file php.ini in a Vim /Nano text editor and increase the memory_limit size:

/usr/local/psa/admin/conf/php.ini

In the same vein, increase the memory limit based on your server capability.

3 .Then subsequently restart the Plesk management service using this command line commands.

service sw-engine restart
service sw-cp-server restart

That’s it. Memory exceeded error will be eradicated in the Plesk server

Thanks for using pheonix solutions.

admin

Our team has expertise across software and web development, WordPress, e-commerce, mobile applications, UI/UX, cloud and infrastructure, DevOps, CI/CD, API integration, security, testing, automation, and technical support. The team also works with AI-based software solutions, LLMs, AI workflows, AI agents, and intelligent application development to help businesses automate processes and build smarter digital solutions. We focus on developing, deploying, maintaining, and optimising secure, scalable, and reliable technology solutions while helping businesses adopt modern technologies and drive digital transformation.

Leave a Reply

Scroll to Top