Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[doc] gbuild: Set memory explicitly (default is too low) #8358

Merged
merged 1 commit into from Jul 26, 2016

Conversation

maflcko
Copy link
Member

@maflcko maflcko commented Jul 18, 2016

gbuild has a default of around 2 GB, which is too low for 0.13.

@maflcko maflcko added the Docs label Jul 18, 2016
@laanwj
Copy link
Member

laanwj commented Jul 18, 2016

2GB is too little even without any parallelism?
Does Ubuntu Trusty have so much runtime overhead? If so, another reason for switching to debian...

In any case, utACK

@maflcko
Copy link
Member Author

maflcko commented Jul 18, 2016

Right, I guess the alternative would be to pass --num-make 1

@laanwj laanwj merged commit faa5931 into bitcoin:master Jul 26, 2016
laanwj added a commit that referenced this pull request Jul 26, 2016
faa5931 [doc] gbuild: Set memory explicitly (default is too low) (MarcoFalke)
laanwj pushed a commit that referenced this pull request Jul 26, 2016
@laanwj
Copy link
Member

laanwj commented Jul 26, 2016

Backported to 0.13 as cfd1280

@PRabahy
Copy link
Contributor

PRabahy commented Jul 26, 2016

https://github.com/bitcoin/bitcoin/blob/master/doc/gitian-building.md#create-a-new-virtualbox-vm says "Memory Size: at least 1024MB, anything less will really slow down the build."

@luke-jr
Copy link
Member

luke-jr commented Jul 26, 2016

Pretty sure this will fail on 32-bit...

 $ qemu-system-x86_64 -m 3000
qemu-system-x86_64: at most 2047 MB RAM can be simulated

@maflcko maflcko deleted the Mf1607-docBuild branch July 31, 2016 14:25
@maflcko
Copy link
Member Author

maflcko commented Jul 31, 2016

@luke-jr I am pretty sure it already failed when you just copy pasted the command line on 32-bit and compiled 0.13.0.

If you feel strong about it, you can create a pull to mention --num-make 1.

@maflcko
Copy link
Member Author

maflcko commented Jul 31, 2016

@PRabahy Pull request welcome :)

@luke-jr
Copy link
Member

luke-jr commented Sep 1, 2016

@MarcoFalke -j2 works fine with -m2047.

codablock pushed a commit to codablock/dash that referenced this pull request Jan 8, 2018
…oo low)

faa5931 [doc] gbuild: Set memory explicitly (default is too low) (MarcoFalke)
andvgal pushed a commit to energicryptocurrency/gen2-energi that referenced this pull request Jan 6, 2019
…oo low)

faa5931 [doc] gbuild: Set memory explicitly (default is too low) (MarcoFalke)
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants