Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem: digitalobject:regen-derivatives does not release memory #1888

Open
dersmon opened this issue Nov 6, 2024 · 0 comments
Open

Problem: digitalobject:regen-derivatives does not release memory #1888

dersmon opened this issue Nov 6, 2024 · 0 comments
Labels
Type: bug A flaw in the code that causes the software to produce an incorrect or unexpected result.

Comments

@dersmon
Copy link

dersmon commented Nov 6, 2024

Current Behavior

Because of #1887 we want to regenerate a lot of thumbnails and reference images for our PDFs.

Starting php symfony digitalobject:regen-derivatives seems to have a memory leak, slowly but steadily increasing memory consumption to the point where the processing crashes with a PHP out of memory error.

Expected Behavior

The memory usage should be more or less stable and not crashing the CLI script.

Possible Solution

For the time being, I am using the --slug option to manually process smaller subsets of our data in order to avoid the memory issue.

I am not sure what causes the memory leak.

Context and Notes

Might be fixed together with #1847.

Version used

AtoM 2.8.2

Operating System and version

Alpine Linux v3.16

Default installation culture

No response

PHP version

PHP 7.4

Contact details

No response

@dersmon dersmon added the Type: bug A flaw in the code that causes the software to produce an incorrect or unexpected result. label Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: bug A flaw in the code that causes the software to produce an incorrect or unexpected result.
Projects
None yet
Development

No branches or pull requests

1 participant