What is the exact version of the compiler you're using? It seems similar to
this problem, so try upgrading your compiler or entire OS:
   https://github.com/shogun-toolbox/shogun/issues/2111

it sounds like you have a small computer. How much memory and cores do you
have? You should decrease the number of cores you use, eg.
  ./bjam -j2

Hieu Hoang
Researcher
New York University, Abu Dhabi
http://www.hoang.co.uk/hieu

On 1 June 2015 at 18:58, Davood Mohammadifar <[email protected]> wrote:

>  My OS: Linux Ubuntu 12.04 32-bit.
>
> One thing that i noticed in that execution:
> Virtual memory exhausted: Cannot allocate memory
>
> For solving the problem, I created swap file using commands in:
> http://www.cyberciti.biz/faq/linux-add-a-swap-file-howto/
>
> I deleted the old /mosesdecoder and copy "clean and fresh" /mosesdecoder
> (that i backed up after executing git clone
> https://github.com/moses-smt/mosesdecoder.git)  to Home directory.
>
> Then I executed
> ./bjam -j8
>
> At the end, number of failed targets decreased, But i faced the same error
> again. The new log file has been attached.
>
> I don't know about doing weird by sysadmin. How can i check that?
>
> ------------------------------
> Date: Mon, 1 Jun 2015 10:25:50 +0400
> From: [email protected]
> To: [email protected]; [email protected]
> Subject: Re: [Moses-support] Fail to build and compile moses
>
>
> that's a slightly crazy compile error i've never seen before. What
> operating system and version are you using? Is it a standard installation,
> or do you know if the sysadmin did anything weird to the system?
>
> On 30/05/2015 17:17, Davood Mohammadifar wrote:
>
> Hello
> After downloading moses (according to command git clone
> https://github.com/moses-smt/mosesdecoder.git
>  in manualI file), I executed the following command for compiling and
> building moses.
>  ./bjam -j8
>
> and got error.
>
> It's likely the problems are related to GCC.
> The log file is in attachment.
> Ubuntu Version: 12.04
>
> Thank you for your helping
>
>
> _______________________________________________
> Moses-support mailing 
> [email protected]http://mailman.mit.edu/mailman/listinfo/moses-support
>
>
> --
> Hieu Hoang
> Researcher
> New York University, Abu Dhabihttp://www.hoang.co.uk/hieu
>
>
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to