Title: Fatal error: Allowed memory size
Last modified: August 30, 2016

---

# Fatal error: Allowed memory size

 *  [theyouthdeb](https://wordpress.org/support/users/theyouthdeb/)
 * (@theyouthdeb)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-allowed-memory-size-79/)
 * I have multiple website hosted on godaddy VPS server.
    Form few days, I am facing
   lot of issue on all the sites on that server. these are
 * Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate
   237121 bytes) in /home/happyeasterdaygr/public_html/wp-includes/functions.php
   on line384
 * Fatal error: Out of memory (allocated 12845056) (tried to allocate 49152 bytes)
   in /home/happynewyeargree/public_html/wp-includes/class-http.php on line 250
 * Internal Server Error
 * The server encountered an internal error or misconfiguration and was unable to
   complete your request.
 * Please contact the server administrator, [webmaster@oscarawardwinners2015.com](https://wordpress.org/support/topic/fatal-error-allowed-memory-size-79/webmaster@oscarawardwinners2015.com?output_format=md)
   and inform them of the time the error occurred, and anything you might have done
   that may have caused the error.
 * More information about this error may be available in the server error log.
 * Additionally, a 500 Internal Server Error error was encountered while trying 
   to use an ErrorDocument to handle the request.
 * Apache/2.2.29 (Unix) mod_ssl/2.2.29 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 Server
   at oscarawardwinners2015.com Port 80
 * I also cotacted hosting providers to solve this issue. they said this is due 
   to memory. upload a Php.ini file in the server publish_html location and increase
   the memory.
 * can any one provide me this file that will solve this problems of memory.

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [Kor](https://wordpress.org/support/users/korchung/)
 * (@korchung)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-allowed-memory-size-79/#post-6489437)
 * Hello,
 * Here are three ways to increase PHP’s memory allocation:
 * 1. If you can edit or override the system `php.ini` file, increase the memory
   limit. For example, `memory_limit = 128M`
 * 2. If you cannot edit or override the system `php.ini` file, add `php_value memory_limit
   128M` to your `.htaccess` file.
 * 3. If neither of these work, it’s time to ask your hosting provider to temporarily
   increase PHP’s memory allocation on your account.
 * (in the above examples, the limit is set to 128MB)
 * Regards
 * KC
 *  Thread Starter [theyouthdeb](https://wordpress.org/support/users/theyouthdeb/)
 * (@theyouthdeb)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-allowed-memory-size-79/#post-6489488)
 * i changed the memory to 64M, but it still gives the same error same time.
    i 
   have just one doubt. will this increase in memory will effect the other website
 *  [Kor](https://wordpress.org/support/users/korchung/)
 * (@korchung)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-allowed-memory-size-79/#post-6489517)
 * Hello,
 * I guess the changes did not made effect. Try asking your hosting provider to 
   increase the limit for you.
 * Regards
 * KC
 *  Thread Starter [theyouthdeb](https://wordpress.org/support/users/theyouthdeb/)
 * (@theyouthdeb)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-allowed-memory-size-79/#post-6489623)
 * Thanks [@kc](https://wordpress.org/support/users/kc/)
 *  [Vatz](https://wordpress.org/support/users/janaminfosystem/)
 * (@janaminfosystem)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-allowed-memory-size-79/#post-6489626)
 * Hi theyouthdeb.
 * Open your php.ini file and scroll for memory_limit and set it to maximum of 1024MB(
   1GB). This will solve your problem asap.
 * Thanks
    Vatz
 *  Thread Starter [theyouthdeb](https://wordpress.org/support/users/theyouthdeb/)
 * (@theyouthdeb)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-allowed-memory-size-79/#post-6489649)
 * hi Janaminfosystem,
    I am using godaddy VPS server. config is 1GM RAM, 40 GB 
   of disk space. And hosted more then 30 website in my server. Are you sure that
   this will not effect any thing
 *  [accuwebhosting](https://wordpress.org/support/users/accuwebhosting/)
 * (@accuwebhosting)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-allowed-memory-size-79/#post-6489651)
 * Hi,
 * It is not recommended to set memory_limit to more than 256 MB when you host 30
   + website in 1 GB VPS. Make sure you are increasing memory_limit in php.ini file
   which is actually in use. Upload phpinfo.php page, browse it and determine the
   loaded php.ini configuration. Increase memory_limit in this file and save it.
 * Thanks,

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Fatal error: Allowed memory size’ is closed to new replies.

## Tags

 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 4 participants
 * Last reply from: [accuwebhosting](https://wordpress.org/support/users/accuwebhosting/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-allowed-memory-size-79/#post-6489651)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
