big-account-56668
09/29/2020, 4:26 PM<http://github.com/pulumi/pulumi-gcp/sdk/v3@v3.25.0/go/gcp/compute|github.com/pulumi/pulumi-gcp/sdk/v3@v3.25.0/go/gcp/compute>
creating a NewInstance
and running pulumi up
has my machine freeze up as the compilation step (snippet) hijacks all cores at 100% until finally failing with
Diagnostics:
pulumi:pulumi:Stack (project-stage):
go build <http://github.com/pulumi/pulumi-gcp/sdk/v3/go/gcp/compute|github.com/pulumi/pulumi-gcp/sdk/v3/go/gcp/compute>: /usr/lib/go/pkg/tool/linux_amd64/compile: signal: killed
error: an unhandled error occurred: program exited with non-zero exit code: 1
I'm looking for any assistance in debugging this. I've successfully added two other resources and it's as I'm adding the compute instance to my stack that this happens.
I'm not sure what is eventually killing off the compilation but I would assume it's some internal timeout in Pulumi.
Happy to provide any additional info.lemon-agent-27707
09/29/2020, 4:44 PMpulumi up
or does that fail as well?big-account-56668
09/29/2020, 5:19 PM[ 6559.889281] Out of memory: Killed process 15267 (compile) total-vm:10209944kB, anon-rss:9480132kB, file-rss:0kB, shmem-rss:0kB, UID:1000 pgtables:18764kB oom_score_adj:0
Any suggestions on how to proceed here?lemon-agent-27707
09/29/2020, 5:32 PMGOGC=50
or GOGC=25
https://dave.cheney.net/tag/gogcbig-account-56668
09/29/2020, 5:49 PMGOGC
value seems to help as the compilation now succeeds so I can get around my particular issue this way for now, thanks.compute
package.