liip / LiipImagineBundle

Symfony Bundle to assist in image manipulation using the imagine library
http://liip.ch
MIT License
1.66k stars 378 forks source link

Memory leak PHP8.2 #1506

Closed ytilotti closed 1 year ago

ytilotti commented 1 year ago

Preconditions

  1. PHP: 8.2
  2. GD: 2.1.0
  3. LiipImagineBundle: 2.10.0
  4. OpenLiteSpeed: 1.7.16 (with lsphp)

Steps to reproduce

We navigate on the website. The server crash after few minutes. We have downgrade to PHP 8.1 and no issue.

Actual result

A part of logs:

2023-03-04 12:59:26.497502 [NOTICE] [STDERR] [info] Matched route "liip_imagine_filter".
2023-03-04 12:59:18.996357 [NOTICE] [STDERR] [debug] Checking for authenticator support.
2023-03-04 12:59:18.996436 [NOTICE] [STDERR] [debug] Checking support on authenticator.
2023-03-04 12:59:18.996487 [NOTICE] [STDERR] [debug] Authenticator does not support the request.

Someone have test on PHP8.2? No problems?

ytilotti commented 1 year ago

After some tests, it's not a memory leak. A swap was necessary, because the memory was not enough. The thumbnail format loves ram!