diff options
author | Jarret Dyrbye <jarret.dyrbye@gmail.com> | 2016-01-27 20:17:02 -0700 |
---|---|---|
committer | Jarret Dyrbye <jarret.dyrbye@gmail.com> | 2016-01-27 20:17:02 -0700 |
commit | f9298cc60e093533ce109aedd7d54d59e87865cd (patch) | |
tree | ad5ccdccb5fc12519808378cf80ef0c6eba3e0de /doc | |
parent | 473ad1bb026986db2569fff278d8957363f758f8 (diff) |
doc: add example for building with constrained resources
discussed in github issue #6658
Diffstat (limited to 'doc')
-rw-r--r-- | doc/build-unix.md | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/doc/build-unix.md b/doc/build-unix.md index 31bbab7f0f..943bfadb91 100644 --- a/doc/build-unix.md +++ b/doc/build-unix.md @@ -50,12 +50,15 @@ Optional dependencies: For the versions used in the release, see [release-process.md](release-process.md) under *Fetch and build inputs*. -System requirements +Memory Requirements -------------------- -C++ compilers are memory-hungry. It is recommended to have at least 1 GB of -memory available when compiling Bitcoin Core. With 512MB of memory or less -compilation will take much longer due to swap thrashing. +C++ compilers are memory-hungry. It is recommended to have at least 1.5 GB of +memory available when compiling Bitcoin Core. On systems with less, gcc can be +tuned to conserve memory with additional CXXFLAGS: + + + ./configure CXXFLAGS="--param ggc-min-expand=1 --param ggc-min-heapsize=32768" Dependency Build Instructions: Ubuntu & Debian ---------------------------------------------- |