Skip to content
WJunction - Webmaster Forum

Help!! Fatal error: Out of memory?

Status
Not open for further replies.
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
 

8 comments

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
 
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);
 
[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 :S
 
Status
Not open for further replies.

About the author

R
Member · Joined
10
Messages
0
Reactions
1
Points

Advertise on WJunction

Reach 1000's of webmasters, hosts & affiliates. Banner & sponsored-thread slots available.

Contact us
Back
Top Bottom