Find the policy.xml
with find / -name "policy.xml"
something like /etc/ImageMagick-6/policy.xml
and change
<policy domain="resource" name="disk" value="1GiB"/>
to
<policy domain="resource" name="disk" value="8GiB"/>
refer to convert fails due to resource limits
Memory issues