Dear Support,

when translating with a simple factored translation model, moses dies
without memory after having translated at most 20 sentences. In the
process the memory usage of the decoder keeps growing (although
sentences should be treated independently, which indicates a memory
leak in moses). The phrase and reordering tables are all binarized.
The precise error message is:

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

The model is trained with the following command-line:

nohup nice train-factored-phrase-model.perl --parallel -root-dir ./
--corpus train --f et --e en --lm
0:3:/home/harts/smt/results/hsmt/exp_pos7g_ee/lmWord3g.
en.gz --lm 1:7:/home/harts/smt/results/hsmt/exp_pos7g_ee/lmPos7g.en.gz
 -reordering distance,msd-bidirectional-fe  --reordering-factors 0-0
--translation-fa
ctors 0-0 --generation-factors 0-1 --decoding-steps t0,g0 &> log.tm.txt &

The funny part is that a factor-less baseline translates 3000
sentences with no problems.

Is it a memory leak? Why is there a difference between factor-less and
factored translation? Will be thankful for any help or advice,

Best regards,

Mark Fishel
Dept. of Computer Science
University of Tartu
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to