hey mirko

4gb ram should be enough to run the everything. the problem is most 
likely to be the way the program was executed, or with the data.

i would always recommend character encoding all files in utf8. in which 
case, you should ensure that the following command is run before you do 
the binarising:
export LC_ALL=C

btw, the warning “line already inserted” doesn't seem to be a problem - 
just ignore it

Mirko Plitt wrote:
>
> Hi,
>
> When trying to convert my reordering table into binary format I hit 
> the following error on a fairly high-spec (virtual) centOS Linux machine:
>
> terminate called after throwing an instance of ‘std::bad_alloc’
>
> what(): St9bad_alloc
>
> Aborted
>
> Note that I manually removed a couple of lines from the reordering 
> table previously because I got “line already inserted” errors 
> beforehand. Could this be the reason? Or is this just a question of 
> available memory? The size of the compressed reordering table is 500MB 
> (uncompressed 6.6GB). I believe the virtual machine grants me 4GB of RAM.
>
> Thanks in advance for any help!
>
> Mirko
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Moses-support mailing list
> [email protected]
> http://mailman.mit.edu/mailman/listinfo/moses-support
>   

_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to