Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
ogs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dmitri Naumov
ogs
Commits
47a21214
Commit
47a21214
authored
4 years ago
by
joergbuchwald
Browse files
Options
Downloads
Patches
Plain Diff
add memory hint to ninja build intruction
parent
9094e58e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
web/content/docs/devguide/getting-started/build.md
+2
-0
2 additions, 0 deletions
web/content/docs/devguide/getting-started/build.md
with
2 additions
and
0 deletions
web/content/docs/devguide/getting-started/build.md
+
2
−
0
View file @
47a21214
...
...
@@ -38,6 +38,8 @@ To build with the `ninja` tool on the shell go to your previously configured bui
cd
../build/release
ninja
```
By default,
`ninja`
uses maximum parallelism causing it to crash on many machines as the memory consumption exceeds the available memory.
Therefore, we recommend restricting the number of threads to be used, e.g., type
`ninja -j 2`
for a maximum of two threads.
</div>
<div
class=
'mac'
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment