i'm using ImageMagick to perform the Erode function on a Image
i need to limit the memory used by the process
during erosion process, due to the memory consuption, i can't do anything else (just wait...)
i'm trying to set the policy.xml to use max the 75% of the resource (modifyng the policy.xml file)
but i need some help
my pc has 8Gb of Ram and an HD of 128Gb
Code: Select all
-<policymap>
<!-- <policy domain="resource" name="temporary-path" value="/tmp"/> -->
<!-- <policy domain="resource" name="memory" value="6GiB"/> -->
<!-- <policy domain="resource" name="map" value="6GiB"/> -->
<!-- <policy domain="resource" name="width" value="100MP"/> -->
<!-- <policy domain="resource" name="height" value="100MP"/> -->
<!-- <policy domain="resource" name="area" value="1GB"/> -->
<!-- <policy domain="resource" name="disk" value="16EB"/> -->
<!-- <policy domain="resource" name="file" value="768"/> -->
<!-- <policy domain="resource" name="thread" value="4"/> -->
<!-- <policy domain="resource" name="throttle" value="0"/> -->
<!-- <policy domain="resource" name="time" value="3600"/> -->
<!-- <policy domain="system" name="precision" value="6"/> -->
<policy value="passphrase" name="shared-secret" domain="cache"/>
</policymap>
Thanks