Git Product home page Git Product logo

Comments (7)

sei-eschwartz avatar sei-eschwartz commented on August 13, 2024 1

@sei-ccohen Try echo ${NCPU:-1} :)
@bama4 I think 8 GB should be enough.

from pharos.

sei-eschwartz avatar sei-eschwartz commented on August 13, 2024

It sounds like you are running out of RAM. Are you compiling more than one file at once?

from pharos.

bama4 avatar bama4 commented on August 13, 2024

from pharos.

sei-eschwartz avatar sei-eschwartz commented on August 13, 2024

That should only compile one file at once. I'm not sure what to suggest other than adding more memory to your machine. We've definitely compiled Pharos using less than 4 GB of RAM though...

You could also use our pre-built Docker images: https://hub.docker.com/r/eschwartz/pharos/

from pharos.

sei-ccohen avatar sei-ccohen commented on August 13, 2024

Actually, the build.bash script defaults to NCPU=-1, which might result in parallel builds. ROSE in particular has several source files that require approximately 4GB of RAM each to compile, and it will fail in small VMs with limited memory. I also recommend that you allocate more RAM, or be very attentive to your system resources during the build. While a full day seems a little excessive, it's in approximately the right order of magnitude (multiple hours) to build all of the depdendencies. This can be addressed with a faster system and multiple processors, but only if there's sufficient RAM to support parallel builds.

from pharos.

bama4 avatar bama4 commented on August 13, 2024

from pharos.

bama4 avatar bama4 commented on August 13, 2024

This was resolved when the RAM was increased to 12 GB

from pharos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.