discussed in github issue #6658
doc: add example for building with constrained resources #7423
pull jarret wants to merge 1 commits into bitcoin:master from jarret:docBuildFlags changing 1 files +7 −4-
jarret commented at 1:48 AM on January 27, 2016: contributor
-
in doc/build-unix.md:None in abc3c15ab9 outdated
58 | -compilation will take much longer due to swap thrashing. 59 | +memory available when compiling Bitcoin Core. However, if you are building on a 60 | +system with less than 1 GB memory, the compiler can be instructed to conserve 61 | +memory with additional CXXFLAGS: 62 | + 63 | + ./configure CXXFLAGS="--param ggc-min-expand=1 --param ggc-min-heapsize=32768"
jonasschnelli commented at 8:10 AM on January 27, 2016:nit: Looks like gcc specific. Maybe okay. But is there a clang equivalent or something that is supported by "all"/"most" compilers?
jarret commented at 3:23 AM on January 28, 2016:I have updated the wording to indicate gcc-specificness. I will have to do more research and testing for a working low-memory clang recipe. With gcc and aggressive values for these params, I have been able to successfully build with on a Raspberry Pi 1 with 512 RAM and no swap partition. This is better than @laanwj's clang measurements posted on issue 6658, so until we can demonstrate a better tweak with clang, this appears to be a solid recommendation. @laanwj:
That is correct, thanks. I have also updated the commit with a change of the section title and a phrasing that feels better to me. I went with a wording to encourage people to try if they are below 1.5 GB. Please let me know if you think it is an improvement.
jonasschnelli commented at 8:11 AM on January 27, 2016: contributorutACK
jonasschnelli added the label Docs and Output on Jan 27, 2016laanwj added the label Build system on Jan 27, 2016f9298cc60edoc: add example for building with constrained resources
discussed in github issue #6658
jarret force-pushed on Jan 28, 2016laanwj commented at 10:07 AM on January 28, 2016: memberlaanwj merged this on Jan 29, 2016laanwj closed this on Jan 29, 2016laanwj referenced this in commit 69e2a4003b on Jan 29, 2016codablock referenced this in commit 23f3296140 on Sep 16, 2017codablock referenced this in commit 6acab4821c on Sep 19, 2017codablock referenced this in commit a2965c2c63 on Dec 9, 2017codablock referenced this in commit 860ba2ba8e on Dec 9, 2017codablock referenced this in commit 6c5286aadd on Dec 11, 2017MarcoFalke locked this on Sep 8, 2021ContributorsLabels
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-22 18:15 UTC
More mirrored repositories can be found on mirror.b10c.me