on running this:

mkdir ~/lm
 cd ~/lm
 ~/mosesdecoder/bin/lmplz -o 3
<~/corpus/news-commentary-v8.fr-en.true.en >
news-commentary-v8.fr-en.arpa.en

Error:


bhupendra@berry:~/lm$ ~/mosesdecoder/bin/lmplz -o 3
<~/corpus/news-commentary-v8.fr-en.true.en >
news-commentary-v8.fr-en.arpa.en
=== 1/5 Counting and sorting n-grams ===
Reading /home/bhupendra/corpus/news-commentary-v8.fr-en.true.en
----5---10---15---20---25---30---35---40---45---50---55---60---65---70---75---80---85---90---95--100
****************************************************************************************************
util/scoped.cc:20 in void* util::{anonymous}::InspectAddr(void*,
std::size_t, const char*) threw MallocException because `!addr &&
requested'.
Cannot allocate memory for 2826111760 bytes in malloc
Aborted (core dumped)
bhupendra@berry:~/lm$ ~/mosesdecoder/bin/lmplz -o 3
<~/corpus/news-commentary-v8.fr-en.true.en >
news-commentary-v8.fr-en.arpa.en
=== 1/5 Counting and sorting n-grams ===
Reading /home/bhupendra/corpus/news-commentary-v8.fr-en.true.en
----5---10---15---20---25---30---35---40---45---50---55---60---65---70---75---80---85---90---95--100
****************************************************************************************************
util/scoped.cc:20 in void* util::{anonymous}::InspectAddr(void*,
std::size_t, const char*) threw MallocException because `!addr &&
requested'.
Cannot allocate memory for 2826111760 bytes in malloc
Aborted (core dumped)

Can you please help me out.I am haivng 4GB Ram now.
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to