← Back to team overview

hugin-devs team mailing list archive

[Bug 708294] Re: Random crashes and extreme memory use with overview mode

 

This commit improves the memory usage quite a lot. It does not solve the problem completely as RAM usage is still increasing continiously when using the FPW (same project 1.5 GB after "playing" for 20 mins), though a lot slower than before.
More memory leaks?

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/708294

Title:
  Random crashes and extreme memory use with overview mode

Status in Hugin - Panorama Tools GUI:
  New

Bug description:
  Since the merge of the panorama overview branch into default hugin is suddenly very unstable and memory hungry. After using the FPW for a while and going forth and back between optimizing and looking at the FPW, hugin uses more than 1.5Gb memory, which is a lot more than before the merge.
  This is with a fairly small project of 6 Mpix images covering the full sphere and happens with the overview tab hidden as well.

  On the terminal hugin prints debug messages like this:
  ERROR: 21:20:02.993563 (/home/flixh/install/pano/hugin/src/hugin1/hugin/ProjectionGridTool.cpp:469) createTexture(): GL Error when bulding mipmap levels: invalid value.

  When crashing:
  terminate called after throwing an instance of 'std::bad_alloc'
    what():  std::bad_alloc

  Looks like it's running out of memory? Should not happen on a machine
  with 2Gb RAM and 3Gb of swap, especially when I never saw that
  behaviour before.

  System:
  Hugin 2010.5.0.1fc6ad6e7c7a
  Linux system running Debian testing

  Regards
  Felix





References