memory woes with imagemagick

From: Dermot Paikkos (dermot_at_sciencephoto.com)
Date: 03/19/04

  • Next message: fybar: "pws 500au intermittent boot problems"
    Date: Fri, 19 Mar 2004 13:03:59 +0000
    To: tru64-unix-managers@ornl.gov
    
    

    Hi Managers,

    DS10 TRU64 5.1, 1280 RAM, 768 SWAP.

    I hope this isn't too OT but I am struggling to understand what is
    happening to my system resources.

    I recently added 1024MB of RAM to our system. The system itself is
    relatively under used. CPU usage is minimal and although there is a
    DB on the system as it only serves 40 users it has not problem
    coping.

    One of the labour intensive tasks I do ask of it is to run the user
    app imagemagick. I recently upgraded to v5.7.7 as this version had
    better memory management. I compiled it with Q8 rather that Q16 as
    this was said to require less RAM.

    The problem is that even after adding the extra RAM I am not able to
    convert some images even when they are relatively small. Imagemagick
    will fail with an "Insufficient memory (case 4)" on a 15MB
    (uncompressed) file. Yet vmstat seems to show some free RAM:
    r w u act free wire fault cow zero react pin pout in
    3 270 32 125K 17K 15K 3251 173 474 0 239 0 72 1K
    3 270 32 130K 13K 15K 8469 40 219 0 4404 0 85 63
    3 270 32 134K 8741 15K 8556 0 0 0 4537 0 74 300
    3 270 32 137K 6476 15K 4497 0 6 0 3571 0 48 88

    The amount of free pages does drop from 13k to 8741 (and the number
    of fault rockets a bit). At his point IM should use swap or a TMPDIR,
    both of which have bags of space. However it doesn't and the batch
    process tried to continue to the next file without releasing the RAM.
    Eventually the swap space is filled and the console spits out "swap
    space below 10%" and no one can log in. All very bad!!!

    Has anyone tried IM on Tru64? Thomas Blinn suggested I ask the list
    for a recent Makefile as my compile may not be as effective as it
    might. The IM Makefile is probably intended for a 32bit environment
    and hence I might be able to get better resource management with a
    TRU64 makefile. Any suggestions?

    Thanx.
    Dp.

    ~~
    Dermot Paikkos * dermot@sciencephoto.com
    Network Administrator @ Science Photo Library
    Phone: 0207 432 1100 * Fax: 0207 286 8668


  • Next message: fybar: "pws 500au intermittent boot problems"

    Relevant Pages

    • Re: Office 2008 starts very slow
      ... During startup my system resources are through the roof. ... The activity manager reports 90% resources taken up by Entourage at boot time. ... I'm running it on a Leopard Mac Book Pro with a 2.4 Ghz intel chip and 4GB of ram. ... two apps open and 3.8GB or RAM being used. ...
      (microsoft.public.mac.office)
    • Re: Cant add transition
      ... Movie Makers. ... Your system resources dictate your limits. ... into a project complexity issue than person "B", who has 4GB of RAM ... These days with huge external hard drives ...
      (microsoft.public.windowsxp.moviemaker)
    • Re: Memory Available
      ... about "System Resources." ... measure of how much memory is available. ... Resources' and 'GDI Resources,' and Windows used them to keep ... you should not have *any* available RAM. ...
      (microsoft.public.windowsxp.general)
    • Re: Does size matter!
      ... Makes for some enlightening reading.....Resources vs RAM. ... System Resources refers to two 64K blocks of memory that Windows ... Resources (unless you start running more applications because you have ...
      (microsoft.public.excel.misc)
    • Re: Which Distribution for VMWare
      ... but something that is easy on system resources. ... I'm planning to run it with only 256 Mb of RAM. ... possible - or do you want a distribution to run *underneath* of a VMWare ... will the 256 MB of memory be the memory for the virtual ...
      (comp.os.linux.misc)