uluru75 Posted December 31, 2009 Share Posted December 31, 2009 I use a common thumbnail class to resize images. However, i ofter get this error: Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 9344 bytes) in classes/Resize.php on line 42. The main problem is that the resize often works when the image is around 3MB, but fails with some images that have around 1MP. Why is that? The memory_limit is set to 32M by hosting provider so that should be enough. Using ini_set('memory_limit','64M'); didn't help anyway even though it looked like it had been increased. How can i solve it or at least how can I detect such error messages? What image information would be helpful? Such as resolutions, size etc. I didnt find any information on the forum that would solve that. So thanks for any suggestions. Link to comment https://forums.phpfreaks.com/topic/186816-problems-with-resizing-images/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.