hugin-devs team mailing list archive
-
hugin-devs team
-
Mailing list archive
-
Message #01654
[Bug 747951] Re: Message "Out of memory" as enblend starts. Endblend stops.
The parameter -b expects a blocksize in kilobyte. A blocksize of 256 MB
= 256000 kB is probably too big.
** Changed in: hugin
Status: New => Incomplete
--
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/747951
Title:
Message "Out of memory" as enblend starts. Endblend stops.
Status in Hugin - Panorama Tools GUI:
Incomplete
Bug description:
The panorama is rather large: 14 pictures (10 megapixel each) assembled in a "small planet" like way.
Nona creates 14 picture files (TIFF), each between 20 and 30MB size.
The error appears as soon as endblend starts.
After trying several times with no special options, I have added the options -m512 and -b512000, then -m256 and -b256000, in endblend (according to enblend recommandations for a 1GB memory computer like mine) to limit RAM usage, but with no improvement.
After reading the FAQ about memory problems, I added the "--no-optimize" option, supposed to save memory, but I still get the same error.
Any idea how to go round ?
Is 1GB of RAM simply too small for such a job ?
Output :
===========================================================================
*************** Panorama makefile generated by Hugin ***************
===========================================================================
System information
===========================================================================
Operating System: Windows XP (5.1 Service Pack 3)
Architecture: x86
Number of logical processors: 1
Physical memory: 1047784 kiB (68% occupied)
Free space on disc: 5183 MiB
Active codepage: 1252 (Western European Windows)
===========================================================================
Output options
===========================================================================
Hugin Version: 2010.4.0.854952d82c8f built by Matthew Petroff
Project file: C:\DOCUME~1\Olivier\LOCALS~1\Temp\hug3C2.tmp
Output prefix: sommet
Projection: Rectilinear (0)
Field of view: 58 x 62
Canvas dimensions: 10670 x 11566
Crop area: (300,600) - (10300,11300)
Output exposure value: 14.42
Selected outputs
Normal panorama
* Blended panorama
===========================================================================
Input images
===========================================================================
Number of images in project file: 15
Number of active images: 15
Image 0: C:\Documents and Settings\Olivier\Mes documents\No-backup\Photos\2010-Slovenie\Olivier\P1000627.JPG
Image 0: Size 3648x2736, Exposure: 14.29
Image 1: C:\Documents and Settings\Olivier\Mes documents\No-backup\Photos\2010-Slovenie\Olivier\P1000628.JPG
Image 1: Size 3648x2736, Exposure: 14.10
Image 2: C:\Documents and Settings\Olivier\Mes documents\No-backup\Photos\2010-Slovenie\Olivier\P1000629.JPG
Image 2: Size 3648x2736, Exposure: 14.50
Image 3: C:\Documents and Settings\Olivier\Mes documents\No-backup\Photos\2010-Slovenie\Olivier\P1000630.JPG
Image 3: Size 3648x2736, Exposure: 14.51
Image 4: C:\Documents and Settings\Olivier\Mes documents\No-backup\Photos\2010-Slovenie\Olivier\P1000631.JPG
Image 4: Size 3648x2736, Exposure: 14.42
Image 5: C:\Documents and Settings\Olivier\Mes documents\No-backup\Photos\2010-Slovenie\Olivier\P1000632.JPG
Image 5: Size 3648x2736, Exposure: 14.53
Image 6: C:\Documents and Settings\Olivier\Mes documents\No-backup\Photos\2010-Slovenie\Olivier\P1000633.JPG
Image 6: Size 3648x2736, Exposure: 14.53
Image 7: C:\Documents and Settings\Olivier\Mes documents\No-backup\Photos\2010-Slovenie\Olivier\P1000634.JPG
Image 7: Size 3648x2736, Exposure: 14.69
Image 8: C:\Documents and Settings\Olivier\Mes documents\No-backup\Photos\2010-Slovenie\Olivier\P1000635.JPG
Image 8: Size 3648x2736, Exposure: 14.59
Image 9: C:\Documents and Settings\Olivier\Mes documents\No-backup\Photos\2010-Slovenie\Olivier\P1000636.JPG
Image 9: Size 3648x2736, Exposure: 14.60
Image 10: C:\Documents and Settings\Olivier\Mes documents\No-backup\Photos\2010-Slovenie\Olivier\P1000637.JPG
Image 10: Size 3648x2736, Exposure: 14.54
Image 11: C:\Documents and Settings\Olivier\Mes documents\No-backup\Photos\2010-Slovenie\Olivier\P1000638.JPG
Image 11: Size 3648x2736, Exposure: 14.62
Image 12: C:\Documents and Settings\Olivier\Mes documents\No-backup\Photos\2010-Slovenie\Olivier\P1000639.JPG
Image 12: Size 3648x2736, Exposure: 14.08
Image 13: C:\Documents and Settings\Olivier\Mes documents\No-backup\Photos\2010-Slovenie\Olivier\P1000640.JPG
Image 13: Size 3648x2736, Exposure: 14.10
Image 14: C:\Documents and Settings\Olivier\Mes documents\No-backup\Photos\2010-Slovenie\Olivier\P1000641.JPG
Image 14: Size 3648x2736, Exposure: 14.27
===========================================================================
Testing programs
===========================================================================
Checking nona...
nona is ok
Checking enblend...
enblend is ok
Checking enfuse...
enfuse is ok
Checking hugin_hdrmerge...
hugin_hdrmerge is ok
Checking exiftool...
exiftool is ok
===========================================================================
Stitching panorama
===========================================================================
"C:/Program Files/Hugin/bin/nona" -z LZW -r ldr -m TIFF_m -o "sommet" -i 0 "C:/DOCUME~1/Olivier/LOCALS~1/Temp/hug3C2.tmp"
"C:/Program Files/Hugin/bin/nona" -z LZW -r ldr -m TIFF_m -o "sommet" -i 1 "C:/DOCUME~1/Olivier/LOCALS~1/Temp/hug3C2.tmp"
"C:/Program Files/Hugin/bin/nona" -z LZW -r ldr -m TIFF_m -o "sommet" -i 2 "C:/DOCUME~1/Olivier/LOCALS~1/Temp/hug3C2.tmp"
"C:/Program Files/Hugin/bin/nona" -z LZW -r ldr -m TIFF_m -o "sommet" -i 3 "C:/DOCUME~1/Olivier/LOCALS~1/Temp/hug3C2.tmp"
"C:/Program Files/Hugin/bin/nona" -z LZW -r ldr -m TIFF_m -o "sommet" -i 4 "C:/DOCUME~1/Olivier/LOCALS~1/Temp/hug3C2.tmp"
"C:/Program Files/Hugin/bin/nona" -z LZW -r ldr -m TIFF_m -o "sommet" -i 5 "C:/DOCUME~1/Olivier/LOCALS~1/Temp/hug3C2.tmp"
"C:/Program Files/Hugin/bin/nona" -z LZW -r ldr -m TIFF_m -o "sommet" -i 6 "C:/DOCUME~1/Olivier/LOCALS~1/Temp/hug3C2.tmp"
"C:/Program Files/Hugin/bin/nona" -z LZW -r ldr -m TIFF_m -o "sommet" -i 7 "C:/DOCUME~1/Olivier/LOCALS~1/Temp/hug3C2.tmp"
"C:/Program Files/Hugin/bin/nona" -z LZW -r ldr -m TIFF_m -o "sommet" -i 8 "C:/DOCUME~1/Olivier/LOCALS~1/Temp/hug3C2.tmp"
"C:/Program Files/Hugin/bin/nona" -z LZW -r ldr -m TIFF_m -o "sommet" -i 9 "C:/DOCUME~1/Olivier/LOCALS~1/Temp/hug3C2.tmp"
"C:/Program Files/Hugin/bin/nona" -z LZW -r ldr -m TIFF_m -o "sommet" -i 10 "C:/DOCUME~1/Olivier/LOCALS~1/Temp/hug3C2.tmp"
"C:/Program Files/Hugin/bin/nona" -z LZW -r ldr -m TIFF_m -o "sommet" -i 11 "C:/DOCUME~1/Olivier/LOCALS~1/Temp/hug3C2.tmp"
"C:/Program Files/Hugin/bin/nona" -z LZW -r ldr -m TIFF_m -o "sommet" -i 12 "C:/DOCUME~1/Olivier/LOCALS~1/Temp/hug3C2.tmp"
"C:/Program Files/Hugin/bin/nona" -z LZW -r ldr -m TIFF_m -o "sommet" -i 13 "C:/DOCUME~1/Olivier/LOCALS~1/Temp/hug3C2.tmp"
"C:/Program Files/Hugin/bin/nona" -z LZW -r ldr -m TIFF_m -o "sommet" -i 14 "C:/DOCUME~1/Olivier/LOCALS~1/Temp/hug3C2.tmp"
"C:/Program Files/Hugin/bin/enblend" --compression=100 --no-optimize -m256 -b256000 -f10000x10700+300+600 -o "sommet.jpg" "sommet0000.tif" "sommet0001.tif" "sommet0002.tif" "sommet0003.tif" "sommet0004.tif" "sommet0005.tif" "sommet0006.tif" "sommet0007.tif" "sommet0008.tif" "sommet0009.tif" "sommet0010.tif" "sommet0011.tif" "sommet0012.tif" "sommet0013.tif" "sommet0014.tif"
enblend: out of memory
enblend: bad allocation
enblend: info: remove invalid output image "sommet.jpg"
make: *** [sommet.jpg] Error 1
Follow ups
References