i got a problem converting tif to pdf on fc7 (2.6.21-1.3194.fc7 x86_64) . I got the latest ImageMagick i could find (compiled from ImageMagick-6.3.5-4.tar.gz).
convert image.tif image.pdf
convert: Memory allocation failed `image.pdf'
the result image.pdf looks like a pdf but is broken. conversions to gif,tga etc. work.
it seems that some mmap() calls fail , like:
mmap(NULL, 219043336192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)
I tested the same conversion on x86 with ImageMagick-6.3.5-4 on some older machine and it works, any hints on what could be wrong on x86_64 ? compared to traces from 32bit the mmap(2) lengths are very different (with same image).
Memory allocation failed 6.3.5-4
Re: Memory allocation failed 6.3.5-4
Can you post a URL to your image.tif so we can download it and attempt to reproduce the problem?
Re: Memory allocation failed 6.3.5-4
http://www.tec-fax.de/image/001.tif
i noticed that i can convert it to pdf if i convert it from tif to tga first and the tga->pdf.
i noticed that i can convert it to pdf if i convert it from tif to tga first and the tga->pdf.
Re: Memory allocation failed 6.3.5-4
ill try to downgrade my libtiff (3.8.2-7) when i find time this week.
you also want some traces ?
you also want some traces ?
-
- Posts: 4
- Joined: 2018-04-13T04:37:04-07:00
- Authentication code: 1152
Re: Memory allocation failed 6.3.5-4
Can you help me to downgrade the libtiff (on mac).