https://pulumi.com logo
Title
p

purple-quill-47375

06/03/2021, 3:26 PM
Hi, I am using Azure-Native to deploy a Bastion Host in Azure through C# Pulumi code. When doing a pulumi up, I am getting the following error: pulumi😛ulumi:Stack Deployment-dev.BastionHost running + Ict:Azure:Network:IctNetworkSecurityGroup nsg creating pulumi😛ulumi:Stack Deployment-dev.BastionHost running runtime: VirtualAlloc of 8192 bytes failed with errno=1455 pulumi😛ulumi:Stack Deployment-dev.BastionHost running fatal error: out of memory pulumi😛ulumi:Stack Deployment-dev.BastionHost running runtime stack: pulumi😛ulumi:Stack Deployment-dev.BastionHost running runtime.throw(0xfb517e, 0xd) pulumi😛ulumi:Stack Deployment-dev.BastionHost running /opt/hostedtoolcache/go/1.16.4/x64/src/runtime/panic.go:1117 +0x79 <snip> pulumi😛roviders:azure-native default_1_9_0 error: could not read plugin Pulumi preview does work, so I am slightly confused why it fails to read the plugin. (note that Pulumi Up uses --skip-preview  --yes --non-interactive) Any idea how I can increase the memory that Pulumi can utilise? #azure
t

tall-librarian-49374

06/03/2021, 3:28 PM
I guess the cause is that plugin failed with
out of memory
p

purple-quill-47375

06/03/2021, 3:31 PM
yes, I am wondering how I increase the amount of memory available to pulumi, because 8k is not very much
found this issue on github, it would appear that Azure-Native Provider causes memory spikes. Doubling the Vms memory solved it.
t

tall-librarian-49374

06/04/2021, 9:45 AM
Do you use explicit providers? (providers passed as resource options)