commit 39f6e8cde4afe0fc00bc4db8f19e8445b492f454
parent f8ff08daa755c0cb5ce675819a3a35a08b1cdb0b
Author: Sylvestre Ledru <sylvestre@debian.org>
Date: Mon, 20 Oct 2025 14:03:37 +0000
Bug 1989028 - doc: Add guidance on RAM & Swap in contributing/editors/vscode r=firefox-build-system-reviewers,sergesanspaille DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D269191
Diffstat:
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/docs/contributing/editors/vscode.rst b/docs/contributing/editors/vscode.rst
@@ -54,6 +54,13 @@ integration.
needed by `clangd` server will not be refreshed. This is a known `bug <https://github.com/clangd/vscode-clangd/issues/42>`__
in `clangd-vscode` extension
+.. note::
+
+ The combination of rust-analyzer and clangd can be memory-intensive with the Firefox codebase.
+ If you experience OOM issues or hangs, consider increasing swap space (e.g., to 16 GiB) or
+ closing memory-heavy applications. On Linux, consider using `EarlyOOM <https://github.com/rfjakob/earlyoom>`__
+ to mitigate the impact on your system.
+
Ignore Files in Mercurial Repositories
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~