Welcome Guest, Not a member yet? Register   Sign In
Memory Limit Help!
#6

[eluser]tjtyrrell[/eluser]
Yeah, I am clearing after each:
Code:
$this->image_lib->initialize($config);

if( !$this->image_lib->resize() ) {
$errors[] = $this->image_lib->display_errors();
}
      
$this->image_lib->clear();

For some reason I thought max execution time was per single execution attempt not for the whole script (oops), as in, attempt to execute "fopen" for 5 minutes before giving up. If this is the case I'll probably have the set the execution time to 10 hours (I have 116,536 users and 10gb of photos to go though). But yes, it's just a one time thing. My biggest concern now would be how much memory it uses processing 10gb of images. When I had the memory_limit set to 512m it would spew the memory error before timing out. Will some of the first image resize() calls drop from memory after a certain time or will the library keep all 10gb of image manipulations until php stops processing the scripts?

I apologize for the poorly worded question and thank you 1000 times already for your help!


Messages In This Thread
Memory Limit Help! - by El Forum - 12-11-2013, 04:57 AM
Memory Limit Help! - by El Forum - 12-11-2013, 11:19 AM
Memory Limit Help! - by El Forum - 12-11-2013, 12:54 PM
Memory Limit Help! - by El Forum - 12-11-2013, 01:05 PM
Memory Limit Help! - by El Forum - 12-11-2013, 01:08 PM
Memory Limit Help! - by El Forum - 12-11-2013, 01:27 PM
Memory Limit Help! - by El Forum - 12-11-2013, 01:53 PM
Memory Limit Help! - by El Forum - 12-11-2013, 02:24 PM
Memory Limit Help! - by El Forum - 12-11-2013, 02:42 PM



Theme © iAndrew 2016 - Forum software by © MyBB