Yes Bob, I knew convert is a part of ImageMagick. I was having
difficulty locating the correct package within this bug tracker.

Thanks for explaining how to show what resources convert is allowed to
use. Following is the output from my three systems:

Xubuntu 16.04:
$ convert -list resource
  File       Area     Memory        Map       Disk   Thread  Throttle       Time
--------------------------------------------------------------------------------
   768   16.584GB  7.7226GiB  15.445GiB  unlimited        2         0  unlimited
$


Xubuntu 20.04:
$ convert -list resource
Resource limits:
  Width: 16KP
  Height: 16KP
  List length: 18.446744EP
  Area: 128MP
  Memory: 256MiB
  Map: 512MiB
  Disk: 1GiB
  File: 768
  Thread: 12
  Throttle: 0
  Time: unlimited
$

Xubuntu 22.04:
$ convert -list resource
Resource limits:
  Width: 16KP
  Height: 16KP
  List length: unlimited
  Area: 128MP
  Memory: 256MiB
  Map: 512MiB
  Disk: 1GiB
  File: 768
  Thread: 2
  Throttle: 0
  Time: unlimited
$


So I can see that Memory and Disk are now far more constrained than when on 
Xubuntu 16.04.

All right, so I searched and found this page:
https://imagemagick.org/script/resources.php

Seems I am to make a policy.xml file in my home directory... I made:
~/.config/ImageMagick/policy.xml

Copied in the default per the site, uncommented lines for:
  <policy domain="resource" name="memory" value="2GiB"/>
  <policy domain="resource" name="disk" value="16EiB"/>


Saved, retested showing resources, no changes. Further suggestions please.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1956642

Title:
  convert crash during operation leaving partial output file

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/graphicsmagick/+bug/1956642/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to