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

Add note about how to handle build oom or hang #4951

Merged
merged 4 commits into from
May 20, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,8 @@ cmake $WORKSPACE/tiflash
make tiflash -j
```

> **NOTE**: Option `-j` (default to your core count, otherwise you can optionally specify a number) is used to control the build parallellism. Higher parallelism consumes more memory. If you encounter compiler OOM or hang, try to lower the parallelism, by specifying a reasonable number after `-j`, depending on the availablem memory in your system.

After building, you can get TiFlash binary under `$BUILD/dbms/src/Server/tiflash`.

### Build Options
Expand Down