Skip to content

Commit 075581f

Browse files
Hint for ram prerequisite (infiniflow#1069)
### What problem does this PR solve? After testing, a minimum of 6GB memory is required to build infinity from source. Issue link: infiniflow#1067 ### Type of change - [x] Documentation Update
1 parent 5351ba5 commit 075581f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/build_from_source.md

+8
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@ Infinity can only be compiled natively on Linux. If your operating system is not
1111
- [Build from source on Ubuntu 22.04](#build-from-source-on-ubuntu-2204)
1212
- [Build from source on Ubuntu 23.10](#build-from-source-on-ubuntu-2310)
1313

14+
15+
## Prerequisites
16+
We recommend that you build the project on a machine with 16GB of memory, which will take a few minutes to build the project.
17+
If your machine can't provide that much memory, make sure you have at least 6GB of memory, and try to reduce the number of ninja parallel compilation jobs as follows.
18+
```shell
19+
ninja -j1
20+
```
21+
1422
## Build from source on Linux using Docker
1523

1624
This section provides instructions on building Infinity from source on Linux using Docker.

0 commit comments

Comments
 (0)