Commit 12f64b3
fix: reduce GoReleaser memory usage to prevent OOM on GitHub runners
bindercli pulls in 923 packages (~1.2M lines of generated code).
On the free GitHub runner (2 cores, 7GB RAM), parallel package
compilation during arm64 cross-compilation exhausts memory, causing
"hosted runner lost communication" crashes.
Two changes:
- Add -p 1 flag to the bindercli build so go build compiles one
package at a time, reducing peak memory.
- Pass --parallelism=1 to GoReleaser so builds run sequentially,
preventing two large compilations from overlapping.1 parent a1cbd51 commit 12f64b3
2 files changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
31 | 37 | | |
32 | 38 | | |
33 | 39 | | |
| |||
0 commit comments