If I try to get "too much" via the var alloc I hit:
"Allowed memory size of 134217728 bytes exhausted (tried to allocate 528384
bytes)"
That matches the default conf of:
memory_limit = 128M
If I do so via the Imagick on Heap I get an exception at some point into the
loop:
for ($i = 0; $i<100; $i++){
$image[$i] = new \Imagick();
$image[$i]->newImage(8192, 8192, new ImagickPixel('red'), 'jpg');
}
Throws: "ImagickException: Unable to create new image"
That seems to be out of mem as well, as I can avoid it with lower counts or
lower image sizes.
So not leaking but also not getting over its max amount?
Ok, I need some random images to get closer to your original case now
...
Along the way @Vasya - what is your php memory-limit set to for this -
still the default 128M?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1677578
Title:
php-fcgi: max_execution_time causes memory leaks
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php7.0/+bug/1677578/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs