From 93ea674f060b55ecf049a99cd1bdb39fe8e70b1e Mon Sep 17 00:00:00 2001 From: Dan Yeaw Date: Wed, 29 May 2024 20:24:26 -0400 Subject: [PATCH] Add out of memory troubleshooting --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 3e517b290..c2e0635cd 100644 --- a/README.md +++ b/README.md @@ -290,6 +290,8 @@ to build GTK with `gvsbuild build gtk4 adwaita-icon-theme` which will include li rebuilding it with `--from-scratch` - If the download of a tarball fails a partial file will not pass the hash check, delete the file and try again. +- If you get an out of memory error, reduce the number of processor cores building at once +by adding the `--ninja-opts -j2` option, where 2 is the number of cores. ## OpenSSL