-
Notifications
You must be signed in to change notification settings - Fork 2
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
flow assetusage:update does not work for large resource tables #3
Comments
The problem, is that the complete result is fetched and converted to an array in https://github.com/Flowpack/Flowpack.Neos.AssetUsage/blob/main/Classes/Command/AssetUsageCommandController.php#L104. With the super generic architecture we have here, it seems not possible to easily switch to a doctrine iterator to do stream processing on large data sets. |
I just stumbled upon the same issue. Even the initial run of this command fails after a few thousand entries and there is no way to specify an offset |
When increasing the |
Ah, that's because there are lots of |
The command ended up in a memory usage of 2GB of ram after proccessing ~400 records
The text was updated successfully, but these errors were encountered: