Activity Stream
48,167 MEMBERS
61059 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 9 of 9
  1.     
    #1
    Member

    Default Help!! Fatal error: Out of memory?

    Well i went on my website today and all of a sudden this error comes up.
    Fatal error: Out of memory (allocated 4980736) (tried to allocate 77824 bytes) in /home/thekings/public_html/wp-includes/post.php on line 1791
    How do i fix this. I checked on google and it told me to put in this line to the file but it didnt work. please help
    rdeguz5 Reviewed by rdeguz5 on . Help!! Fatal error: Out of memory? Well i went on my website today and all of a sudden this error comes up. Fatal error: Out of memory (allocated 4980736) (tried to allocate 77824 bytes) in /home/thekings/public_html/wp-includes/post.php on line 1791 How do i fix this. I checked on google and it told me to put in this line to the file but it didnt work. :( please help Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    increase your memory_limit config in php.ini, if you don't have access to that file because your on shared hosting you will need to ask host

  4.     
    #3
    Member
    i am getting the same error... where is that file located??

  5.     
    #4
    Member
    well if you have ssh access do
    Code: 
    locate php.ini

  6.     
    #5
    Respected Member
    Looks more like your host is overselling as each shared site should get 32m but you only got 4m and couldn't allocate 77k more.

    you can try editing the /home/thekings/public_html/wp-includes/post.php file and right after the <?php line add this:
    ini_set(?memory_limit?,?16M?);

  7.     
    #6
    Member
    [21-Jun-2010 05:07:03] PHP Fatal error: Out of memory (allocated 2883584) (tried to allocate 77824 bytes) in /home/warezhd/public_html/Sources/Subs-MembersOnline.php on line 163
    i am gettin this error

  8.     
    #7
    Member
    try what Lock Down said if you can't get it to work you will need to ask your host if your on shared.

  9.     
    #8
    Member
    hmmm.... i will contact host..

  10.     
    #9
    Member
    If you are on a shared server, then edit your .htaccess file and add

    php_value memory_limit 32M

    somewhere below. It works like a charm

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Fatal error.
    By BattleDuty in forum Wordpress
    Replies: 5
    Last Post: 31st Mar 2012, 08:18 AM
  2. [DLE]Help xm fatal error
    By -sky- in forum DLE
    Replies: 1
    Last Post: 5th Dec 2011, 05:49 AM
  3. wtf happened? (ipb 3.23 skin error causes fatal error)
    By mrHunt in forum Technical Help Desk Support
    Replies: 1
    Last Post: 25th Nov 2011, 03:55 AM
  4. RL - FS download plugin Memory Fatal Error Help
    By zyberakuma in forum Technical Help Desk Support
    Replies: 2
    Last Post: 4th Dec 2010, 09:43 PM
  5. Replies: 6
    Last Post: 13th May 2010, 07:23 AM

Tags for this Thread

BE SOCIAL