File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11tests :
22 - name : " memory allocation beyond cgroup limit is killed"
3- arch : [amd64]
43 requests :
54 - input :
65 runtime : go
@@ -37,42 +36,3 @@ tests:
3736 exit_code : 137
3837 status : " SIGNAL"
3938 signal : " SIGKILL"
40-
41- - name : " memory allocation beyond cgroup limit is killed"
42- arch : [arm64]
43- requests :
44- - input :
45- runtime : go
46- files :
47- - name : main.go
48- type : plain
49- content : |
50- package main
51-
52- func main() {
53- chunks := make([][]byte, 0)
54- for {
55- chunk := make([]byte, 10*1024*1024)
56- for i := 0; i < len(chunk); i += 4096 {
57- chunk[i] = 1
58- }
59- chunks = append(chunks, chunk)
60- }
61- }
62- output :
63- status : 200
64- body :
65- compile :
66- stdout : " "
67- stderr : " "
68- output : " "
69- exit_code : 0
70- status : " OK"
71- signal : null
72- run :
73- stdout : " "
74- stderr : " "
75- output : " "
76- exit_code : 139
77- status : " SIGNAL"
78- signal : " SIGSEGV"
You can’t perform that action at this time.
0 commit comments