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

pull MarcoFalke wants to merge 1 commits into bitcoin:master from MarcoFalke:Mf1607-docBuild changing 1 files +3 −3
  1. MarcoFalke commented at 8:56 AM on July 18, 2016: member

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

  2. [doc] gbuild: Set memory explicitly (default is too low) faa59318db
  3. MarcoFalke added the label Docs and Output on Jul 18, 2016
  4. laanwj commented at 8:58 AM on July 18, 2016: member

    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

  5. MarcoFalke commented at 9:16 AM on July 18, 2016: member

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

  6. laanwj merged this on Jul 26, 2016
  7. laanwj closed this on Jul 26, 2016

  8. laanwj referenced this in commit beadffae6d on Jul 26, 2016
  9. laanwj referenced this in commit cfd1280f23 on Jul 26, 2016
  10. laanwj commented at 12:41 PM on July 26, 2016: member

    Backported to 0.13 as cfd1280

  11. PRabahy commented at 5:14 PM on July 26, 2016: contributor

    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."

  12. luke-jr commented at 5:23 PM on July 26, 2016: member

    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
    
  13. MarcoFalke deleted the branch on Jul 31, 2016
  14. MarcoFalke commented at 2:27 PM on July 31, 2016: member

    @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.

  15. MarcoFalke commented at 2:27 PM on July 31, 2016: member

    @PRabahy Pull request welcome :)

  16. luke-jr commented at 8:03 AM on September 1, 2016: member

    @MarcoFalke -j2 works fine with -m2047.

  17. codablock referenced this in commit 3e321faffd on Sep 19, 2017
  18. codablock referenced this in commit 7769ea0fab on Dec 29, 2017
  19. codablock referenced this in commit 04525b435f on Jan 8, 2018
  20. andvgal referenced this in commit 4d17cd4985 on Jan 6, 2019
  21. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-17 06:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me