Comments (7)
@sei-ccohen Try echo ${NCPU:-1}
:)
@bama4 I think 8 GB should be enough.
from pharos.
It sounds like you are running out of RAM. Are you compiling more than one file at once?
from pharos.
from pharos.
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.
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.
from pharos.
This was resolved when the RAM was increased to 12 GB
from pharos.
Related Issues (20)
- Merge/test issue211_new_oio branch HOT 2
- Look/merge/test issue211_vft_overwrite branch HOT 5
- Can't build latest master on ubuntu 22.04 HOT 9
- thisptr-overhaul branch to improve support for virtual bases HOT 3
- reasonClassCallsMethod_D is redundant with respect to _C?
- Nonreturn methods are problematic
- OOAnalyzer: Initial sanity check failed, indicating the OO rules are incorrect. HOT 20
- guessMethodD is broken?
- Merge reasonMethod changes HOT 1
- Calling conventions and being smarter about statically linked binaries
- SQLite concurrency problem in OOAnalyzer HOT 28
- DKII consistency failures HOT 5
- APIAnalyzer use-after-free HOT 1
- Stop the lies
- stop being rude and stupid
- no need to create lies HOT 1
- ooprolog crash HOT 16
- Consistency checks failed in ooprolog. HOT 22
- Partition stuck at 94%, seems to not be using available memory HOT 14
- Partitioner stucks at 17 % and often gets killed HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pharos.