brianlange Posted December 23, 2009 Share Posted December 23, 2009 In php.ini I have the memory_limit set to 128M. A script I am running is running out of memory at 67M. What's going on here? I've tried using ini_set("memory") within the script but that doesn't seem to do anything? Thanks, -Brian Quote Link to comment https://forums.phpfreaks.com/topic/186194-memory-limit/ Share on other sites More sharing options...
premiso Posted December 24, 2009 Share Posted December 24, 2009 Does the script upload a file? If so you should check what the maximum POST size is, as that will need to be modified as well to be able to upload larger files. Quote Link to comment https://forums.phpfreaks.com/topic/186194-memory-limit/#findComment-983455 Share on other sites More sharing options...
brianlange Posted December 28, 2009 Author Share Posted December 28, 2009 No the script doesn't upload a file. It is a Imap email retrieving script. It does use curl to move the file from one server to another. There has to be something with the server configuration. ini_set("memory_limit") doesn't work at all. And the available memory is less than what is displayed on phpinfo(); Quote Link to comment https://forums.phpfreaks.com/topic/186194-memory-limit/#findComment-985022 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.