heroku / base-images

Recipes for building the base images for Heroku's stacks
BSD 3-Clause "New" or "Revised" License
267 stars 75 forks source link

Heroku-22: remove memory limitations from imagemagick #316

Closed david-caro closed 2 months ago

david-caro commented 2 months ago

The size and memory limitations are not useful as they don't check the system's limits, but are just hard-coded, see: https://github.com/ImageMagick/ImageMagick/issues/396#issuecomment-319569255

And specially for containers, the limits are better set by the runtime.

It would be less troublesome if you could override the settings from this configuration file, but unfortunately you can't.

david-caro commented 2 months ago

Thanks for the quick reply!

We are working on upstream debian to remove the sizes from the file (following up on https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929826), might take a look at ubuntu too.

We will probably have to override the policy with the link you passed (very helpful!).

I'm closing this for now, thanks again