Commit 7edb35a2 by Boyan Tabakov Committed by Tute Costa

Update docs to mention ImageMagick resource limits (#2305)

[fixes #1943]
parent b19f897f
......@@ -628,6 +628,14 @@ JPGs will remain JPGs). `Paperclip::Thumbnail` uses ImageMagick to process
images; [ImageMagick's geometry documentation](http://www.imagemagick.org/script/command-line-processing.php#geometry)
has more information on the accepted style formats.
ImageMagick supports a number of environment variables for controlling its resource limits. For example, you can enfore memory or execution time limits by setting the following variables in your application's process environment:
* `MAGICK_MEMORY_LIMIT=128MiB`
* `MAGICK_MAP_LIMIT=64MiB`
* `MAGICK_TIME_LIMIT=30`
For a full list of variables and description, see [ImageMagick's resources documentation](http://www.imagemagick.org/script/resources.php).
---
Custom Attachment Processors
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment