From 097f65520ad3268611f961023b9c29b35c43f6d7 Mon Sep 17 00:00:00 2001 From: Dan Cline <6798349+Rjected@users.noreply.github.com> Date: Wed, 5 Jun 2024 15:43:54 -0400 Subject: [PATCH] chore: add canonical cgroup docs in memory profiling docs (#8621) --- book/developers/profiling.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/book/developers/profiling.md b/book/developers/profiling.md index 20afc7c4bfc4..884032b2ac88 100644 --- a/book/developers/profiling.md +++ b/book/developers/profiling.md @@ -75,6 +75,8 @@ memory spikes or leaks as often as a machine with only 8GB of RAM. Development m user's hardware. This can help developers debug issues that only occur on devices with limited hardware. `cgroups` is a tool that allows developers to limit the memory usage of a process, making it extremely useful to developers in understanding how their application performs in low-memory environments. +See the [canonical documentation for cgroups](https://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git/tree/Documentation/admin-guide/cgroup-v2.rst) for more information. + ### How to use cgroups to limit process memory In order to use cgroups to limit process memory, sometimes it must be explicitly enabled as a kernel parameter. For example, the following line is sometimes necessary to enable cgroup memory limits on