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); 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 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 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
Archived
This topic is now archived and is closed to further replies.