dreamwest Posted July 30, 2009 Share Posted July 30, 2009 Im transfering files using curl but get a timeout error: Fatal error: Allowed memory size of 85983232 bytes exhausted (tried to allocate 50681183 bytes) in /home/user/public_html/vids.php on line 71 I have a timeout just before the curl but it doesnt seem to fix it: set_time_limit(0); Quote Link to comment https://forums.phpfreaks.com/topic/168201-solved-fatal-error-allowed-memory-size-of-85983232-bytes-exhausted/ Share on other sites More sharing options...
p2grace Posted July 30, 2009 Share Posted July 30, 2009 Change the memory limit at the top of your script ini_set('memory_limit','40 M'); // or whatever limit you want Quote Link to comment https://forums.phpfreaks.com/topic/168201-solved-fatal-error-allowed-memory-size-of-85983232-bytes-exhausted/#findComment-887166 Share on other sites More sharing options...
dreamwest Posted July 30, 2009 Author Share Posted July 30, 2009 Thanks! Ive been trying to get that one for a while now Quote Link to comment https://forums.phpfreaks.com/topic/168201-solved-fatal-error-allowed-memory-size-of-85983232-bytes-exhausted/#findComment-887171 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.