We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I run ghosts reading from STDIN on my PC, my scripts run fine. However, when on a GitHub-hosted runner, I get this error:
ghosts
runtime: out of memory: cannot allocate 71303168-byte block (821723136 in use) fatal error: out of memory goroutine 1 [running]: runtime.throw({0x6ba31b?, 0x2055?}) /usr/local/go/src/runtime/panic.go:1047 +0x5d fp=0xc00008eea0 sp=0xc00008ee70 pc=0x4365bd runtime.(*mcache).allocLarge(0xc0000061a0?, 0x40aa000, 0x0) /usr/local/go/src/runtime/mcache.go:235 +0x205 fp=0xc00008eef0 sp=0xc00008eea0 pc=0x4182a5 runtime.mallocgc(0x40aa000, 0x66aec0, 0x1) /usr/local/go/src/runtime/malloc.go:1029 +0x57e fp=0xc00008ef68 sp=0xc00008eef0 pc=0x40e55e runtime.growslice(0x66aec0, {0xc02c502000?, 0x6b7658?, 0x731f70?}, 0x0?) /usr/local/go/src/runtime/slice.go:290 +0x4ea fp=0xc00008efd0 sp=0xc00008ef68 pc=0x44d5aa main.Hosts.filter(...) /go/pkg/mod/github.com/!steven!black/ghosts@v0.2.2/main.go:296 main.(*Hosts).process(0xc00008feb0) /go/pkg/mod/github.com/!steven!black/ghosts@v0.2.2/main.go:111 +0x1869 fp=0xc00008f6e0 sp=0xc00008efd0 pc=0x64b4a9 main.(*Hosts).Loadfile(0xc00008feb0, {0x7ffdb9744757, 0xa}) /go/pkg/mod/github.com/!steven!black/ghosts@v0.2.2/main.go:252 +0x325 fp=0xc00008f8a0 sp=0xc00008f6e0 pc=0x64b945 main.(*Hosts).Load(0x44d5f4?, {0x7ffdb9744757, 0xa}) /go/pkg/mod/github.com/!steven!black/ghosts@v0.2.2/main.go:241 +0x6e fp=0xc00008f8d0 sp=0xc00008f8a0 pc=0x64b5ce main.main() /go/pkg/mod/github.com/!steven!black/ghosts@v0.2.2/main.go:404 +0x6e fp=0xc00008ff80 sp=0xc00008f8d0 pc=0x64ccee runtime.main() /usr/local/go/src/runtime/proc.go:250 +0x212 fp=0xc00008ffe0 sp=0xc00008ff80 pc=0x438e12 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00008ffe8 sp=0xc00008ffe0 pc=0x4659e1 goroutine 2 [force gc (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /usr/local/go/src/runtime/proc.go:363 +0xd6 fp=0xc00003efb0 sp=0xc00003ef90 pc=0x4391d6 runtime.goparkunlock(...) /usr/local/go/src/runtime/proc.go:369 runtime.forcegchelper() /usr/local/go/src/runtime/proc.go:302 +0xad fp=0xc00003efe0 sp=0xc00003efb0 pc=0x43906d runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00003efe8 sp=0xc00003efe0 pc=0x4659e1 created by runtime.init.6 /usr/local/go/src/runtime/proc.go:290 +0x25 goroutine 3 [GC sweep wait]: runtime.gopark(0x8b8401?, 0x0?, 0x0?, 0x0?, 0x0?) /usr/local/go/src/runtime/proc.go:363 +0xd6 fp=0xc00003f790 sp=0xc00003f770 pc=0x4391d6 runtime.goparkunlock(...) /usr/local/go/src/runtime/proc.go:369 runtime.bgsweep(0x0?) /usr/local/go/src/runtime/mgcsweep.go:297 +0xd7 fp=0xc00003f7c8 sp=0xc00003f790 pc=0x425cd7 runtime.gcenable.func1() /usr/local/go/src/runtime/mgc.go:178 +0x26 fp=0xc00003f7e0 sp=0xc00003f7c8 pc=0x41ab46 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00003f7e8 sp=0xc00003f7e0 pc=0x4659e1 created by runtime.gcenable /usr/local/go/src/runtime/mgc.go:178 +0x6b goroutine 4 [GC scavenge wait]: runtime.gopark(0x3126bedb0a?, 0xf0ea3d?, 0x0?, 0x0?, 0x0?) /usr/local/go/src/runtime/proc.go:363 +0xd6 fp=0xc00003ff70 sp=0xc00003ff50 pc=0x4391d6 runtime.goparkunlock(...) /usr/local/go/src/runtime/proc.go:369 runtime.(*scavengerState).park(0x8b88a0) /usr/local/go/src/runtime/mgcscavenge.go:389 +0x53 fp=0xc00003ffa0 sp=0xc00003ff70 pc=0x423d33 runtime.bgscavenge(0x0?) /usr/local/go/src/runtime/mgcscavenge.go:622 +0x65 fp=0xc00003ffc8 sp=0xc00003ffa0 pc=0x424325 runtime.gcenable.func2() /usr/local/go/src/runtime/mgc.go:179 +0x26 fp=0xc00003ffe0 sp=0xc00003ffc8 pc=0x41aae6 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00003ffe8 sp=0xc00003ffe0 pc=0x4659e1 created by runtime.gcenable /usr/local/go/src/runtime/mgc.go:179 +0xaa goroutine 5 [finalizer wait]: runtime.gopark(0x8b8fa0?, 0xc000007860?, 0x0?, 0x0?, 0xc00003e770?) /usr/local/go/src/runtime/proc.go:363 +0xd6 fp=0xc00003e628 sp=0xc00003e608 pc=0x4391d6 runtime.goparkunlock(...) /usr/local/go/src/runtime/proc.go:369 runtime.runfinq() /usr/local/go/src/runtime/mfinal.go:180 +0x10f fp=0xc00003e7e0 sp=0xc00003e628 pc=0x419c4f runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00003e7e8 sp=0xc00003e7e0 pc=0x4659e1 created by runtime.createfing /usr/local/go/src/runtime/mfinal.go:157 +0x45 goroutine 6 [GC worker (idle)]: runtime.gopark(0x8e9800?, 0x2?, 0xf6?, 0x8e?, 0x0?) /usr/local/go/src/runtime/proc.go:363 +0xd6 fp=0xc000040750 sp=0xc000040730 pc=0x4391d6 runtime.gcBgMarkWorker() /usr/local/go/src/runtime/mgc.go:1235 +0xf1 fp=0xc0000407e0 sp=0xc000040750 pc=0x41ca91 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0000407e8 sp=0xc0000407e0 pc=0x4659e1 created by runtime.gcBgMarkStartWorkers /usr/local/go/src/runtime/mgc.go:1159 +0x25 goroutine 7 [GC worker (idle)]: runtime.gopark(0x8e9800?, 0x2?, 0x72?, 0x8c?, 0x0?) /usr/local/go/src/runtime/proc.go:363 +0xd6 fp=0xc000040f50 sp=0xc000040f30 pc=0x4391d6 runtime.gcBgMarkWorker() /usr/local/go/src/runtime/mgc.go:1235 +0xf1 fp=0xc000040fe0 sp=0xc000040f50 pc=0x41ca91 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000040fe8 sp=0xc000040fe0 pc=0x4659e1 created by runtime.gcBgMarkStartWorkers /usr/local/go/src/runtime/mgc.go:1159 +0x25 runtime: out of memory: cannot allocate 71303168-byte block (809140224 in use) fatal error: out of memory goroutine 1 [running]: runtime.throw({0x6ba31b?, 0x2055?}) /usr/local/go/src/runtime/panic.go:1047 +0x5d fp=0xc0000a8ea0 sp=0xc0000a8e70 pc=0x4365bd runtime.(*mcache).allocLarge(0xc00045a000?, 0x40aa000, 0x0) /usr/local/go/src/runtime/mcache.go:235 +0x205 fp=0xc0000a8ef0 sp=0xc0000a8ea0 pc=0x4182a5 runtime.mallocgc(0x40aa000, 0x66aec0, 0x1) /usr/local/go/src/runtime/malloc.go:1029 +0x57e fp=0xc0000a8f68 sp=0xc0000a8ef0 pc=0x40e55e runtime.growslice(0x66aec0, {0xc02bc02000?, 0x6b7658?, 0x731f70?}, 0x0?) /usr/local/go/src/runtime/slice.go:290 +0x4ea fp=0xc0000a8fd0 sp=0xc0000a8f68 pc=0x44d5aa main.Hosts.filter(...) /go/pkg/mod/github.com/!steven!black/ghosts@v0.2.2/main.go:296 main.(*Hosts).process(0xc0000a9eb0) /go/pkg/mod/github.com/!steven!black/ghosts@v0.2.2/main.go:111 +0x1869 fp=0xc0000a96e0 sp=0xc0000a8fd0 pc=0x64b4a9 main.(*Hosts).Loadfile(0xc0000a9eb0, {0x7ffd4547f757, 0xa}) /go/pkg/mod/github.com/!steven!black/ghosts@v0.2.2/main.go:252 +0x325 fp=0xc0000a98a0 sp=0xc0000a96e0 pc=0x64b945 main.(*Hosts).Load(0x44d5f4?, {0x7ffd4547f757, 0xa}) /go/pkg/mod/github.com/!steven!black/ghosts@v0.2.2/main.go:241 +0x6e fp=0xc0000a98d0 sp=0xc0000a98a0 pc=0x64b5ce main.main() /go/pkg/mod/github.com/!steven!black/ghosts@v0.2.2/main.go:404 +0x6e fp=0xc0000a9f80 sp=0xc0000a98d0 pc=0x64ccee runtime.main() /usr/local/go/src/runtime/proc.go:250 +0x212 fp=0xc0000a9fe0 sp=0xc0000a9f80 pc=0x438e12 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0000a9fe8 sp=0xc0000a9fe0 pc=0x4659e1 goroutine 2 [force gc (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /usr/local/go/src/runtime/proc.go:363 +0xd6 fp=0xc00003efb0 sp=0xc00003ef90 pc=0x4391d6 runtime.goparkunlock(...) /usr/local/go/src/runtime/proc.go:369 runtime.forcegchelper() /usr/local/go/src/runtime/proc.go:302 +0xad fp=0xc00003efe0 sp=0xc00003efb0 pc=0x43906d runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00003efe8 sp=0xc00003efe0 pc=0x4659e1 created by runtime.init.6 /usr/local/go/src/runtime/proc.go:290 +0x25 goroutine 3 [runnable]: runtime.gopark(0x8b8401?, 0x8b84e0?, 0xc?, 0x14?, 0x1?) /usr/local/go/src/runtime/proc.go:363 +0xd6 fp=0xc00003f790 sp=0xc00003f770 pc=0x4391d6 runtime.goparkunlock(...) /usr/local/go/src/runtime/proc.go:369 runtime.bgsweep(0x0?) /usr/local/go/src/runtime/mgcsweep.go:297 +0xd7 fp=0xc00003f7c8 sp=0xc00003f790 pc=0x425cd7 runtime.gcenable.func1() /usr/local/go/src/runtime/mgc.go:178 +0x26 fp=0xc00003f7e0 sp=0xc00003f7c8 pc=0x41ab46 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00003f7e8 sp=0xc00003f7e0 pc=0x4659e1 created by runtime.gcenable /usr/local/go/src/runtime/mgc.go:178 +0x6b goroutine 4 [GC scavenge wait]: runtime.gopark(0x322e5ede94?, 0x2c2c58a?, 0x0?, 0x0?, 0x0?) /usr/local/go/src/runtime/proc.go:363 +0xd6 fp=0xc00003ff70 sp=0xc00003ff50 pc=0x4391d6 runtime.goparkunlock(...) /usr/local/go/src/runtime/proc.go:369 runtime.(*scavengerState).park(0x8b88a0) /usr/local/go/src/runtime/mgcscavenge.go:389 +0x53 fp=0xc00003ffa0 sp=0xc00003ff70 pc=0x423d33 runtime.bgscavenge(0x0?) /usr/local/go/src/runtime/mgcscavenge.go:622 +0x65 fp=0xc00003ffc8 sp=0xc00003ffa0 pc=0x424325 runtime.gcenable.func2() /usr/local/go/src/runtime/mgc.go:179 +0x26 fp=0xc00003ffe0 sp=0xc00003ffc8 pc=0x41aae6 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00003ffe8 sp=0xc00003ffe0 pc=0x4659e1 created by runtime.gcenable /usr/local/go/src/runtime/mgc.go:179 +0xaa goroutine 18 [finalizer wait]: runtime.gopark(0x8b8fa0?, 0xc000007860?, 0x0?, 0x0?, 0xc00003e770?) /usr/local/go/src/runtime/proc.go:363 +0xd6 fp=0xc00003e628 sp=0xc00003e608 pc=0x4391d6 runtime.goparkunlock(...) /usr/local/go/src/runtime/proc.go:369 runtime.runfinq() /usr/local/go/src/runtime/mfinal.go:180 +0x10f fp=0xc00003e7e0 sp=0xc00003e628 pc=0x419c4f runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00003e7e8 sp=0xc00003e7e0 pc=0x4659e1 created by runtime.createfing /usr/local/go/src/runtime/mfinal.go:157 +0x45 goroutine 19 [GC worker (idle)]: runtime.gopark(0x8e9800?, 0x2?, 0x6?, 0xed?, 0x0?) /usr/local/go/src/runtime/proc.go:363 +0xd6 fp=0xc00003a750 sp=0xc00003a730 pc=0x4391d6 runtime.gcBgMarkWorker() /usr/local/go/src/runtime/mgc.go:1235 +0xf1 fp=0xc00003a7e0 sp=0xc00003a750 pc=0x41ca91 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00003a7e8 sp=0xc00003a7e0 pc=0x4659e1 created by runtime.gcBgMarkStartWorkers /usr/local/go/src/runtime/mgc.go:1159 +0x25 goroutine 20 [running]: goroutine running on other thread; stack unavailable created by runtime.gcBgMarkStartWorkers /usr/local/go/src/runtime/mgc.go:1159 +0x25
Any ideas on how to fix it?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When I run
ghosts
reading from STDIN on my PC, my scripts run fine. However, when on a GitHub-hosted runner, I get this error:Any ideas on how to fix it?
The text was updated successfully, but these errors were encountered: