-
Couldn't load subscription status.
- Fork 8k
Closed as not planned
Description
Description
I have a large image on a production server, and when I try to resize it using imagecreatefromjpeg(), it exceeds the memory limit of 768MB. Strangely, when I test this exact same image in my development environment, it uses ZERO extra memory; even with a memory_limit set to 10MB, the image resizes without any issues. how does this work?
It's a large image (9449x37796 / 7mb) so exceeding the limit was expected though not the zero memory used on my dev env. (or at least not memory used by the php process I guess)
PHP Version
PHP 8.4.3
Operating System
CentOS 9 Stream