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
- Need help with createExecution function
Hi, Need some help understanding createExecution. When requesting function execution via createExecution, the function handler arguments are incorrect and rese...
- Realtime with multiple connections
I need the Realtime on multiple Collections for diffrent applicational logic. So my question is: Is there a way to have only 1 Websocket connection or do I need...
- Can't login or deploy functions in Appwr...
Hello, since i updatet to the appwrite cli 6.1.0 i can't login or deploy functions with the cli. When i call the command: "appwrite get account --verbose" i ge...