Skip to content
Back

Function Build Size Error

  • 1
  • Self Hosted
  • Functions
laurencetroyv
6 Dec, 2024, 16:33

I'm getting a function build size error saying Build size should be less than 1,907.35 MBs. even though I set my .env to have this limits

TypeScript
_APP_FUNCTIONS_SIZE_LIMIT=5000000000
_APP_FUNCTIONS_BUILD_SIZE_LIMIT=5000000000
_APP_FUNCTIONS_TIMEOUT=20000
_APP_FUNCTIONS_BUILD_TIMEOUT=20000
TL;DR
There's a mismatch between the set function build size limits and the error message received. The error mentions a limit of 1,907.35 MBs, which contradicts the set limit of 5TB. Check if the limits are being properly enforced. Additionally, to increase resources allocated to functions, adjust the appropriate environment variables.
Raman
6 Dec, 2024, 16:39

Is there a way to increase the res. allocated to func.?

laurencetroyv
6 Dec, 2024, 16:48

I don't quite understand

Raman
6 Dec, 2024, 16:49

I am also asking a follow up question 😅

laurencetroyv
6 Dec, 2024, 16:54

shouldn't there be no error since the build size limit was set to 5,000,000,000 (5TB) even thoug I only have 80gb of storage in my server🤣

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more