Image Optimization - Create new ImagePool for each batch #470
Merged
a258wang
merged 1 commits from amy-image-optimization-image-pool
into main
7 months ago
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'amy-image-optimization-image-pool'
Deleting a branch is permanent. It CANNOT be undone. Continue?
We have been having issues with the image optimization script consuming egregious amounts of memory and failing CI as a result. Previously, we tried processing images in "batches" in order to reduce memory usage, however this fix did not work for long.
This PR changes the script so that we use a new
ImagePool
to process each batch of images. Preliminary results in my local environment and on CI seem promising, and this is a relatively low risk (and low effort) change, so let's see how it holds up.14ef810ad9
into main 7 months agoReviewers
14ef810ad9
.