Commit a7bcfb2
authored
dev: Limit devcontainer memory usage to 8GB (#1604)
Devconatiner memory usage is currently unbounded. This allows runaway
processes (like rust-analyzer) to monopolize system resources, causing
memory exhaustion for the host OS.
This change adds a limit so that the oomkiller reaps devcontainer
processes when they exceed 8GB.
Signed-off-by: Oliver Gould <ver@buoyant.io>1 parent bf38953 commit a7bcfb2
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
15 | 18 | | |
16 | 19 | | |
17 | 20 | | |
| |||
0 commit comments