Closed CzernyJ closed 3 months ago
Hey @CzernyJ this is a strange issue, but there's no way to modify this through the stacks. After talking with @robdimsdale, we're not convinced that this issue is coming from the stacks/buildpacks as they're not dealing with the space allocation. It might be an issue with another component (Rob had suggested CAPI possibly).
As sophie mentioned, I think this is probably a setting in the Cloud Controller where it defaults to 2GB for apps on the cflinuxfs4 stack but only 512MB on the cflinuxfs3 stack.
As this isn't something we can fix at the stack level I am going to close this issue.
For my app I switched from linuxfs3 stack to linuxfs4 stack. But now the required app memory has increased from 512MB to 2GB just to satisfy the build step.
Is there some way to optimize the memory requirements for the linuxfs4 stack? Overprovisioning 1,5 GB seems wasteful to me.
The app is vendoring its nodejs dependencies and is deploying its own version of node in combination with a binary buildpack.
The error log shown with less than 2GB memory is: