Jump to content
groovyPost Forums

Fatal error: Allowed memory size???


Guest maxlife

Recommended Posts

Guest maxlife

I was trying to make multiple autoblogs uisng wordpress - each blog has new blog templates, massive passive profits and power autoblog profits plugins; was about to do my 6th when I got this error message

 

Fatal error: Out of memory (allocated 66846720) (tried to allocate 35 bytes) in /home/maxlife/public_html/healthydinnerrecipesreview.com/wp-includes/meta.php on line 311

 

I tried to add a line ini_set(“memory_limit”,”128M“);

at the top of the problematic php file (meta.php) .

I've also edited the .htaccess file from the root and wordpress folder in question, but didn't solve it.

 

Then I did the same to wp-config and wp-settings, not solved either.

 

Has anyone experienced this before? Do I really have to upgrade already to VPS (as I'm not yet ready for this)? Or is there a work-around this? Please help, been on this for 2 days already, such a show-stopper :( Thanks in advance

Link to comment
Share on other sites

Guest maxlife

OK, my problem just got solved!!!

 

Got it from this http://wordpress.org/support/topic/fata ... st-1929111, thought I'd share it with you guys :

 


THIS TO BE ENTERED IN THE WP-CONFIG FILE WHICH IS IN THE ROOT OF THE WORDPRESS SETUP:

ENTER AFTER:
define('ABSPATH', dirname(__FILE__).'/');

THE FOLLOWING:

 

define('WP_MEMORY_LIMIT', '64M');

 

I ALSO CREATED A PHP.INI WHICH I UPLOADED TO THE PLUGIN FOLDER IN WP-CONTENT:

 

memory_limit = 128M; Maximum amount of memory a script may consume (64MB)


max_execution_time = 45;


upload_max_filesize = 10M;


post_max_size = 20M;

 

 

Hope this helps!

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.

Guest
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.

  • Who's Online   0 Members, 0 Anonymous, 11 Guests (See full list)

    • There are no registered users currently online
×
×
  • Create New...