Page 1 of 1
montage.exe -mode Concatenate memory error
Posted: 2008-02-14T09:02:11-07:00
by oyapar
hi all,
i am new imagemagick and i have to merge two map
i use following comment "montage merged1.jpeg merged2.jpeg -mode Concatenate -tile x1 mergedlast.jpeg"
and then
application error occurs and it said " the memory could not be written" on ibm x series 226 with 4gb ram
merged1.jpeg= 11.555 kb and 5088*9000
merged2.jpeg= 9.555 kb and 5088*9000
i need help pls
i hope there is a simple solution
Re: montage.exe -mode Concatenate memory error
Posted: 2008-02-14T09:49:06-07:00
by magick
We ran a memory debugger on your command and no problems are reported. We're using ImageMagick 6.3.8-7, the latest release. Try adding '-limit memory 1 -limit map 1' to the beginning of your command line to force the pixels to disk rather than memory. See if that makes a difference.
Re: montage.exe -mode Concatenate memory error
Posted: 2008-02-15T01:48:30-07:00
by oyapar
thaks your response,
i may be find out "the memory could not be written " error reason
there were two different imagemagick version at the same time on computer , after one of them is removed , the command ran without error,
but now my maps bigger (50 mb) and the error is 'insufficient memory case 4 '
Re: montage.exe -mode Concatenate memory error
Posted: 2008-02-15T02:35:20-07:00
by oyapar
hi again,
i add '-limit memory 1 -limit map 1' command and no error
thanks a lot.
and now i try to merge 200 mb maps
Re: montage.exe -mode Concatenate memory error
Posted: 2008-02-26T07:45:53-07:00
by magick
Issue your command and go eat lunch. It will complete successfully eventually. You can speed up the process by upgrading your distribution of ImageMagick and running on a faster computer with more memory or using some other program. See
http://www.imagemagick.org/script/architecture.php for a discussion on why ImageMagick can be slow with large images.
Re: montage.exe -mode Concatenate memory error
Posted: 2008-02-26T18:57:31-07:00
by fmw42
Another simpler method to merge images is the -append and +append commands
See:
http://www.imagemagick.org/Usage/layers/#append
I do not know how it compares in speed and memory requirements to montage with mode concatenate, but the command is much simpler.