Skip to content

Commit

Permalink
update docs with info about failures without error messages and an ex…
Browse files Browse the repository at this point in the history
…ample for updating the policy.xml file
  • Loading branch information
patinthehat committed Jun 24, 2024
1 parent 9061d01 commit 7d8dab0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,12 @@ If you receive an error with the message `attempt to perform an operation not al
<policy domain="coder" rights="read | write" pattern="PDF" />
```

If you are experiencing failures without any error messages, you may need to increase the resource limits for Imagick. This can be done with the `resourceLimit` method.
If you are experiencing failures without any error messages, you may need to increase the resource limits for Imagick. This can be done by modifying your `policy.xml` file. For example, to increase the memory limit to 128 MB and the thread limit to 4, you can add the following lines to your `policy.xml` file:

```xml
<policy domain="resource" name="memory" value="128MiB"/>
<policy domain="resource" name="thread" value="4"/>
```

## Testing

Expand Down

0 comments on commit 7d8dab0

Please sign in to comment.