[SOLVED] Fatal error: Allowed memory size of bytes exhausted
RegisterLogin
[SOLVED] Fatal error: Allowed memory size of bytes exhausted
Post Description: i just solve an error i was getting on my php script. the error read as fatal error: allowed memory size of 134217728 bytes exhausted (tried to allocate 261904 bytes) in /home/www/html/includes/functions.php on line 345
Tags: php,computer,programming
This Post Was Posted On Jun 04, 2012 By Sales #4088
Post Description: i just solve an error i was getting on my php script. the error read as fatal error: allowed memory size of 134217728 bytes exhausted (tried to allocate 261904 bytes) in /home/www/html/includes/functions.php on line 345
Tags: php,computer,programming
This Post Was Posted On Jun 04, 2012 By Sales #4088
[SOLVED] Fatal error: Allowed memory size of bytes exhausted by Sales
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 261904 bytes) in /home/www/html/includes/functions.php on line 345
so when i looked at line 345 i had a small function and this is what i had:
function TextClean($Text){
return TextClean($Text);
}
return TextClean($Text);
}
ok do you see what the problem was here. i kept the function on a loop,
so if you are getting this errror. it might also be that your script is too big to handle the script, you will need to edit you php.ini to increase the allowed memory in each script, but before you do that, of if you have done that already, its probably your script is in a loop. check your code
Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
©2012 Webune Forums - Mon Jun 04, 2012 2:36 pm
Powered by: Webune Forums V3
Powered by: Webune Forums V3