FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


How much memory to allocate?





Xcelerate
I've got a pictures section on my website, and I didn't realize it, but some cameras produce very large picture files. Anyway, I have a script to resize pictures for easy browser viewing (thumbnails and smaller versions of the pictures.) The thing is, it seems to take up a lot of memory in the PHP function:

ini_set("memory_limit","...M");

Of course, it only happens once per picture, so once it has resized it, it does not need to be done again since the file is stored in a folder. Still, I don't know if this puts some sort of a strain on the server. What would be a good limit before it tells users to resize the image themselves?

Thanks
Blaster
I'd say you should just resize them on your computer to help make it go smother and all. It would be easier that way too. As for is it a strain on the server i don't knowl
Related topics
CPU and memory usage
97.8% CPU usage and 98.9% memory usage!!!!!!
What is your live memory?
Fatal error: Allowed memory size of 8388608 bytes exhausted
PHP Memory on Server 2
Problems With Php Memory Size
increase php memory size please
Sorting memory issue???
after installing drupal memory error
after installing drupal memory error
Uh-Oh, Out of PHP Memory
Out of memory
" Fatal error: Allowed memory size of 52428800" bl
Fatal error Allowed memory size of 268435456 bytes exhausted
Reply to topic    Frihost Forum Index -> Support and Web Hosting -> Web Hosting Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.