
My cloud functions no longer build. I have tried creating a new one leaving everything default, with no luck. This is the build log:
Docker Error: Killed
Resolving dependencies...
+ collection 1.17.0 (1.18.0 available)
+ matcher 0.12.12 (0.12.16 available)
+ meta 1.9.1
+ path 1.8.3
+ pub_semver 2.1.4
+ pubspec 2.3.0
+ quiver 3.2.1
+ source_span 1.9.1 (1.10.0 available)
+ stack_trace 1.10.0 (1.11.1 available)
+ string_scanner 1.1.1 (1.2.0 available)
+ term_glyph 1.2.1
+ uri 1.0.0
+ yaml 3.1.1 (3.1.2 available)
Downloading pubspec 2.3.0...
Downloading uri 1.0.0...
Downloading yaml 3.1.1...
Downloading string_scanner 1.1.1...
Downloading path 1.8.3...
Downloading quiver 3.2.1...
Downloading pub_semver 2.1.4...
Downloading source_span 1.9.1...
Downloading term_glyph 1.2.1...
Downloading collection 1.17.0...
Downloading matcher 0.12.12...
Downloading stack_trace 1.10.0...
Downloading meta 1.9.1...
Changed 13 dependencies!

are you self hosting?

Yes

Docker Error: Killed
This usually happens when a container runs out of memory. Take a look at the function memory environment variables: https://appwrite.io/docs/environment-variables

Sorry for the late repy, I have been busy. I have checked the function memory environment variables, they are left at default:
_APP_FUNCTIONS_MEMORY=0
_APP_FUNCTIONS_MEMORY_SWAP=0

Ok, I've set it to 2048 and now it is working, but I don't get why it was working in the past and why leaving it default to get unlimited memory doesn't work

[SOLVED] Cloud function fails to build
Recommended threads
- Cannot find module failure
Sorry, Newbe question here. I just installed Appwrite and am trying to install my first Function an am having absolutely no luck what-so-ever getting this done...
- Problems with adding my custom domain
- Can't push functions when self-hosting o...
Hello, I'm a bit new to appwrite functions and recently hosted a fresh 1.7.4 on my portainer setup. Tried to create a new function and when trying to push it I ...
