Maximum Amount of Memory for PHP Process


Recommended Posts


Just a quick question: What is the maximum amount of memory that you allow for a PHP process?

Fyi, some hosting providers set the default maximum amount of memory for PHP is 128MB on all of their servers. However this can be overrode by using a custom php.ini or .htaccess as long as the value is not set above 500MB and does not interfere with the performance of the server.



Link to comment
Share on other sites

The maximum we allow is 128mb and you cannot change this. If you require more than this you might want to look at why your script is doing that. It's not normal to require say 500mb for a PHP process that kind of use suggests a dedicated server. Even on a server with 12GB of ram you're talking about wanting to use over 4% of the servers total memory with one php process!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.