Skip to content

Commit c9cd12b

Browse files
committed
fix: Memory usage under cgroup v2
1 parent 2c0920b commit c9cd12b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.circleci/config.continue.yml.j2

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,9 +179,11 @@ commands:
179179
display_memory_usage:
180180
steps:
181181
- run:
182-
name: Max Memory Used
182+
name: Memory Peak Usage
183183
# The file does not seem to exist when DLC is disabled
184-
command: cat /sys/fs/cgroup/memory/memory.max_usage_in_bytes || true
184+
command: |
185+
cat /sys/fs/cgroup/memory/memory.max_usage_in_bytes || \
186+
cat /sys/fs/cgroup/memory.peak || true
185187
when: always
186188

187189

0 commit comments

Comments
 (0)