Stitching using PTBatcherGUI eats all memory, Hugin_stitch_project works

Bug #1529272 reported by fubuntu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Hugin
Won't Fix
Undecided
Unassigned

Bug Description

Stitching a simple pano with a couple of images uses up all memory on my system (8 GB RAM + 8 GB swap) before the operating system kills the process. This can take up to an hour, and the process eating all memory is PTBatcherGUI.

Switching to Hugin_stitch_project as processor for the same pano finishes the stitching within a couple of seconds, using not much memory, as expected. This also happens for other photos.

I am on debian testing with hugin 2015.0.

Revision history for this message
tmodes (tmodes) wrote :

PTBatcherGUI and hugin_stitch_project use the same code for the stitching. So this behaviour is not clear to me.
Maybe your batch queue is somehow corrupted. Start PTBatcherGUI and clear the batch queue and try again.

Changed in hugin:
status: New → Incomplete
Revision history for this message
fubuntu (fbugs) wrote :

Thank you for your answer, now this becomes clearer to me. And I realize that there was an important information missing in my bug report: The GUI actually never shows up, the process gets killed before that. So yes, the queue seems to be corrupted, and each time the process gets killed it gets worse. Now, how can I clear the queue without the GUI, I couldn't find an appropriate command line option for that nor could I find the place where this information is stored.

Thanks for the help, and I suggest that this still might be some kind of bug?

Revision history for this message
tduell (tduell-iinet) wrote : Re: [Hugin-bug-hunters] [Bug 1529272] Re: Stitching using PTBatcherGUI eats all memory, Hugin_stitch_project works

Hello fububtu,

On Sun, 27 Dec 2015 02:11:10 +1100, fubuntu <email address hidden> wrote:

> Thank you for your answer, now this becomes clearer to me. And I realize
> that there was an important information missing in my bug report: The
> GUI actually never shows up, the process gets killed before that. So
> yes, the queue seems to be corrupted, and each time the process gets
> killed it gets worse. Now, how can I clear the queue without the GUI, I
> couldn't find an appropriate command line option for that nor could I
> find the place where this information is stored.
>

I haven't used PTBatcher for a while now, but I have a file in my home dir
named 'ptbt0' which looks like it may be the batcher queue.
If you have a similar file, try renaming it 'ptbt0.old' or similar and see
if this helps.

Cheers,
--
Regards,
Terry Duell

Revision history for this message
fubuntu (fbugs) wrote :

I had a file ".ptbt1" (with 2.1GB) in my home, removing it solved the problem.

Thanks again!

Revision history for this message
tduell (tduell-iinet) wrote :

Good that the problem is solved.
Sorry I neglected to include the leading '.' in the filename, hope that didn't cause too much confusion.

Cheers,
Terry

Revision history for this message
tmodes (tmodes) wrote :

Nice, that it works now again.

For completeness: there is an easier way to clear the batch queue: start PTBatcherGUI with pressed control key. Then you will be asked if you want to clear the batch queue.

Changed in hugin:
status: Incomplete → Won't Fix
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.