caught exception: bad allocation with 4+ TIFF files

Bug #1077824 reported by Wolfgang Kaml
This bug report is a duplicate of:  Bug #717944: cpfind memory allocation error. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Hugin
New
Undecided
Unassigned

Bug Description

The Align... feature of the Assistant does not work at all. This is the 2nd project with about 20 uncompressed TIFF files and Panorama Stitcher simply fails at the first step.
This is a Dual Xenon (8 core) with 20GB RAM. Tried a few things but nothing seems to work at all.
--------------
Finding control points...
"C:/Program Files (x86)/Hugin/bin/icpfind" -o "C:/Users/Wolfgang/AppData/Local/Temp/ha6827.tmp" "C:/Users/Wolfgang/AppData/Local/Temp/ha6827.tmp"
Hugin's cpfind 2012.0.0.a6e4184ad538 built by Matthew Petroff
based on Pan-o-matic by Anael Orlinski

The available memory does not allow running 8 threads parallel.
Running cpfind with 5 threads.

Project contains the following images:
Image 0
  Imagefile: C:\Users\Wolfgang\Desktop\Pano3\IMG_6360.tif
  Remapped : no
Image 1
  Imagefile: C:\Users\Wolfgang\Desktop\Pano3\IMG_6361.tif
  Remapped : no
Image 2
  Imagefile: C:\Users\Wolfgang\Desktop\Pano3\IMG_6362.tif
  Remapped : no
Image 3
  Imagefile: C:\Users\Wolfgang\Desktop\Pano3\IMG_6363.tif
  Remapped : no
Image 4
  Imagefile: C:\Users\Wolfgang\Desktop\Pano3\IMG_6364.tif
  Remapped : no
Image 5
  Imagefile: C:\Users\Wolfgang\Desktop\Pano3\IMG_6365.tif
  Remapped : no
Image 6
  Imagefile: C:\Users\Wolfgang\Desktop\Pano3\IMG_6366.tif
  Remapped : no
Image 7
  Imagefile: C:\Users\Wolfgang\Desktop\Pano3\IMG_6367.tif
  Remapped : no
Image 8
  Imagefile: C:\Users\Wolfgang\Desktop\Pano3\IMG_6368.tif
  Remapped : no
Image 9
  Imagefile: C:\Users\Wolfgang\Desktop\Pano3\IMG_6369.tif
  Remapped : no
Image 10
  Imagefile: C:\Users\Wolfgang\Desktop\Pano3\IMG_6370.tif
  Remapped : no
Image 11
  Imagefile: C:\Users\Wolfgang\Desktop\Pano3\IMG_6374.tif
  Remapped : no
Image 12
  Imagefile: C:\Users\Wolfgang\Desktop\Pano3\IMG_6375.tif
  Remapped : no
Image 13
  Imagefile: C:\Users\Wolfgang\Desktop\Pano3\IMG_6376.tif
  Remapped : no
Image 14
  Imagefile: C:\Users\Wolfgang\Desktop\Pano3\IMG_6377.tif
  Remapped : no
Image 15
  Imagefile: C:\Users\Wolfgang\Desktop\Pano3\IMG_6378.tif
  Remapped : no
Image 16
  Imagefile: C:\Users\Wolfgang\Desktop\Pano3\IMG_6379.tif
  Remapped : no
Image 17
  Imagefile: C:\Users\Wolfgang\Desktop\Pano3\IMG_6380.tif
  Remapped : no
Image 18
  Imagefile: C:\Users\Wolfgang\Desktop\Pano3\IMG_6381.tif
  Remapped : no
Image 19
  Imagefile: C:\Users\Wolfgang\Desktop\Pano3\IMG_6382.tif
  Remapped : no

--- Analyze Images ---
i0 : Analyzing image...
i1 : Analyzing image...
i3 : Analyzing image...
i2 : Analyzing image...
i4 : Analyzing image...
An error happened while loading image : caught exception: bad allocation
i5 : Analyzing image...
An error happened while loading image : caught exception: bad allocation
i6 : Analyzing image...
An error happened while loading image : caught exception: bad allocation
i7 : Analyzing image...
An error happened while loading image : caught exception: bad allocation
i8 : Analyzing image...
i9 : Analyzing image...
i10 : Analyzing image...
An error happened while loading image : caught exception: bad allocation
i11 : Analyzing image...
An error happened while loading image : caught exception: bad allocation
i12 : Analyzing image...
An error happened while loading image : caught exception: bad allocation
i13 : Analyzing image...
An error happened while loading image : caught exception: bad allocation
i14 : Analyzing image...
An error happened while loading image : caught exception: bad allocation
i15 : Analyzing image...
An error happened while loading image : caught exception: bad allocation
i16 : Analyzing image...
An error happened while loading image : caught exception: bad allocation
i17 : Analyzing image...
An error happened while loading image : caught exception: bad allocation
i18 : Analyzing image...
An error happened while loading image : caught exception: bad allocation
i19 : Analyzing image...
TIFFReadDirectory: Warning, Unknown field with tag 34858 (0x882a) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 34858 (0x882a) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 34858 (0x882a) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 34858 (0x882a) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 34858 (0x882a) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 34858 (0x882a) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 34858 (0x882a) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 34858 (0x882a) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 34858 (0x882a) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 34858 (0x882a) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 34858 (0x882a) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 34858 (0x882a) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 34858 (0x882a) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 34858 (0x882a) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 34858 (0x882a) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 34858 (0x882a) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 34858 (0x882a) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 34858 (0x882a) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 34858 (0x882a) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 34858 (0x882a) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 34858 (0x882a) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 34858 (0x882a) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 34858 (0x882a) encountered.
TIFFReadDirectory: TIFFReadDirectory: Warning, Warning, Unknown field with tag 34858 (0x882a) encounteredUnknown field with tag 34858 (0x882a) encountered.
.
TIFFReadDirectory: Warning, Unknown field with tag 34858 (0x882a) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 34858 (0x882a) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 34858 (0x882a) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 34858 (0x882a) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 34858 (0x882a) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 34858 (0x882a) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 34858 (0x882a) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 34858 (0x882a) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 34858 (0x882a) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 34858 (0x882a) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 34858 (0x882a) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 34858 (0x882a) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 34858 (0x882a) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 34858 (0x882a) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 34858 (0x882a) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 34858 (0x882a) encountered.
TIFFReadDirectory: Warning

Revision history for this message
tmodes (tmodes) wrote :

You have simply not enough free memory. Maybe I need to increase the factor for the memory check.

There are 2 possibilities:
1.) Add --ncores 3 or --ncores 4 to reduce the number of threads.
2.) Use the 64-bit version.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.