Page 1 of 1

IM uses only about 1.5GB memory on 8GB system

Posted: 2013-09-04T00:38:07-07:00
by OpenScars
Hello,
does anybody know why IM uses only about 1.5GB memory on two different machines runing Win 7 x64 with 8GB RAM?

resource command output

Code: Select all

  File       Area     Memory        Map       Disk   Thread  Throttle       Time

--------------------------------------------------------------------------------

  1536   8.5505GB  3.9817GiB  7.9633GiB  unlimited        8         0  unlimited
identify command output

Code: Select all

  Format: TIFF (Tagged Image File Format)
  Mime type: image/tiff
  Class: DirectClass
  Geometry: 11838x16025+0+0
  Resolution: 2400x2400
  Print size: 4.9325x6.67708
  Units: PixelsPerInch
  Type: TrueColor
  Base type: TrueColor
  Endianess: MSB
  Colorspace: sRGB
  Depth: 16-bit
  Channel depth:
    red: 16-bit
    green: 16-bit
    blue: 16-bit
  Channel statistics:
    Red:
      min: 122 (0.0018616)
      max: 65535 (1)
      mean: 27219.6 (0.415345)
      standard deviation: 15091.7 (0.230285)
      kurtosis: -0.665156
      skewness: -0.0755199
    Green:
      min: 122 (0.0018616)
      max: 65535 (1)
      mean: 27536.4 (0.420178)
      standard deviation: 14964.6 (0.228345)
      kurtosis: -0.589927
      skewness: -0.0969649
    Blue:
      min: 122 (0.0018616)
      max: 65535 (1)
      mean: 28123.7 (0.42914)
      standard deviation: 14377.4 (0.219384)
      kurtosis: -0.429068
      skewness: -0.0920395
  Image statistics:
    Overall:
      min: 122 (0.0018616)
      max: 65535 (1)
      mean: 27626.6 (0.421554)
      standard deviation: 14814.5 (0.226055)
      kurtosis: -0.561438
      skewness: -0.0910776
  Rendering intent: Perceptual
  Gamma: 0.454545
  Chromaticity:
    red primary: (0.64,0.33)
    green primary: (0.3,0.6)
    blue primary: (0.15,0.06)
    white point: (0.3127,0.329)
  Background color: white
  Border color: srgb(223,223,223)
  Matte color: grey74
  Transparent color: black
  Interlace: None
  Intensity: Undefined
  Compose: Over
  Page geometry: 11838x16025+0+0
  Dispose: Undefined
  Iterations: 0
  Compression: None
  Orientation: TopLeft
  Properties:
    date:create: 2013-09-04T08:53:23+02:00
    date:modify: 2013-09-03T12:53:23+02:00
    dc:format: image/tiff
    exif:ColorSpace: 65535
    exif:NativeDigest: 36864,40960,40961,37121,37122,40962,40963,37510,40964,368
67,36868,33434,33437,34850,34852,34855,34856,37377,37378,37379,37380,37381,37382
,37383,37384,37385,37386,37396,41483,41484,41486,41487,41488,41492,41493,41495,4
1728,41729,41730,41985,41986,41987,41988,41989,41990,41991,41992,41993,41994,419
95,41996,42016,0,2,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,20,22,23,24,25,26,27,2
8,30;B428381DF1CD94EC2801E9B7E1F40088
    exif:PixelXDimension: 11838
    exif:PixelYDimension: 16025
    photoshop:ColorMode: 3
    photoshop:ICCProfile: Adobe RGB (1998)
    signature: 4c674d7d491b92d2f2189041d2080cde23db99024438db6d6b98479fd4fd24be
    tiff:Compression: 1
    tiff:endian: lsb
    tiff:ImageLength: 16025
    tiff:ImageWidth: 11838
    tiff:make: Epson
    tiff:model: PerfectionV700
    tiff:NativeDigest: 256,257,258,259,262,274,277,284,530,531,282,283,296,301,3
18,319,529,532,306,270,271,272,305,315,33432;9836A5A943DFC3F560B23228503DA6A2
    tiff:photometric: RGB
    tiff:PhotometricInterpretation: 2
    tiff:PlanarConfiguration: 1
    tiff:rows-per-strip: 1
    tiff:SamplesPerPixel: 3
    tiff:software: Adobe Photoshop Elements 9.0 Windows
    tiff:timestamp: 2013:09:03 12:52:38
    tiff:XResolution: 24000000/10000
    tiff:YResolution: 24000000/10000
    xmp:CreateDate: 2013-09-03T10:30:22+02:00
    xmp:CreatorTool: SilverFast 6.6.1r2b
    xmp:MetadataDate: 2013-09-03T12:52:38+02:00
    xmp:ModifyDate: 2013-09-03T12:52:38+02:00
    xmpMM:DocumentID: xmp.did:651A2DF38614E311B7CA8B12509747C0
    xmpMM:InstanceID: xmp.iid:651A2DF38614E311B7CA8B12509747C0
    xmpMM:OriginalDocumentID: xmp.did:651A2DF38614E311B7CA8B12509747C0
  Profiles:
    Profile-8bim: 7942 bytes
    Profile-icc: 544 bytes
      Description: Adobe RGB (1998)
      Manufacturer: Adobe RGB (1998)
      Model: Adobe RGB (1998)
      Copyright: (c) 2000 Adobe Systems Inc.
    Profile-xmp: 16018 bytes
  Artifacts:
    filename: F:\seidel-cropTest\1_ps\01.tif
    verbose: true
  Tainted: False
  Filesize: 1.1382GB
  Number pixels: 189.7M
  Pixels per second: 21.25MB
  User time: 3.245u
  Elapsed time: 0:09.928
  Version: ImageMagick 6.8.6-9 2013-08-17 Q16 http://www.imagemagick.org
Is there a possibility to force IM to use more memory? Simple operations like canvas extension (-bordercolor black -border 5%x5%) take a lot of time due to disk caching. Thank you for your response.

Re: IM uses only about 1.5GB memory on 8GB system

Posted: 2013-09-04T08:59:12-07:00
by fmw42

Re: IM uses only about 1.5GB memory on 8GB system

Posted: 2013-09-04T23:57:42-07:00
by OpenScars
Thank you for your reply. Well, the solution was quite easy, but it didn't strike me at first - I was using the portable version of IM, which is 32-bit and for some reason this version was able to use only up to cca 1.5G memory. After installation of 64-bit version, IM was able to allocate more than 5GB of memory for itself.

Re: IM uses only about 1.5GB memory on 8GB system

Posted: 2013-09-05T04:36:00-07:00
by Bonzo
Thanks for coming back and posting the answer OpenScars.