Droplet Config : 4GB RAM Managed by Serverpilot
Current Memory Limit : 128MB Memory, WP Limit 40MB Max File Upload: 512MB
The Droplet hosts only one WordPress Website.
I want to set memory Limit as
define( ‘WP_MEMORY_LIMIT’, ‘1024M’ ); define( ‘WP_MAX_MEMORY_LIMIT’, ‘2048M’ );
Will there be any issue?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hey friend,
I would go for smaller numbers. If you need a single PHP process to load that much memory, I propose that the effort is better spent optimizing the application to use less memory. That said, it never hurts to try anything and see what happens :)
Jarland
Hello there,
You can apply these values to your WordPress application, but usually, a WordPress website won’t need that much memory to handle a PHP process even when the site is busy. I will recommend you to set the limit lower and in case you run into the issue to troubleshoot what went wrong and the issue was related to process timing out or the server running out of memory and etc.
Regards, Alex
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.