Memory allocation failed `No such file or directory' error
Posted: 2008-01-24T12:32:55-07:00
I am redacting n-page documents using Imagemagick. The documents are broken down into n 1-page TIF files, redacted, and then merged back together.
The first set of commands looks like this:
The final command which merges all of the files together looks like this:
With a particular document, which is a little bit longer than 1500 pages, or 1500 1-page TIF files to be merged together, the process errors about at page 831:
I have successfully done this with documents up to and including 1100 pages, so I don't think it's a limitation caused by a page count or anything. The document in question was scanned from microfilm but the other documents were scanned from normal page.
I will try to post the actual document but need to confirm it's okay with the client first.
I ran the commands manually with the verbose output: http://public.strahd98.fastmail.fm/work/merge.zip
The first set of commands looks like this:
Code: Select all
convert.exe ( "D:\Release\Backfile\Images\00092240.TIF" ) +matte -compress group4 -limit memory 1 -limit map 1 -define tiff:rows-per-strip=1 "D:\Release\Backfile\Redacted\\1977___004___0003_01567.tif"
Code: Select all
convert.exe D:\Release\Backfile\Redacted\\1977___004___0003_*.tif +matte -compress group4 -limit memory 1 -limit map 1 -define tiff:rows-per-strip=1 "D:\Release\Backfile\Redacted\\1977___004___0003.tif"
Code: Select all
convert: Memory allocation failed `No such file or directory'.
I will try to post the actual document but need to confirm it's okay with the client first.
I ran the commands manually with the verbose output: http://public.strahd98.fastmail.fm/work/merge.zip