Edge Runtime Slow/Failing Builds
Unanswered
Northeast Congo Lion posted this in #help-forum
![Avatar](https://cdn.discordapp.com/embed/avatars/0.png)
Northeast Congo LionOP
Hi there - recently just moved a Next app over to Vercel's edge runtime. Definitely noticed an improvement in cold-start times, so we'd like to stay on edge if possible.
Two issues we've noticed so far:
- We now have builds sporadically failing (maybe 50% of the time) either silently or due to out of memory (OOM) error.
- Build times have increased from <1min to 4min+ on average
I realize the increase in build times is probably unavoidable, but are there any ways to avoid the failing builds? I believe it may be related to this:
https://github.com/vercel/next.js/issues/51298
but wanted to check here to see if anyone else has solved this.
We're running next@canary (currently
Two issues we've noticed so far:
- We now have builds sporadically failing (maybe 50% of the time) either silently or due to out of memory (OOM) error.
- Build times have increased from <1min to 4min+ on average
I realize the increase in build times is probably unavoidable, but are there any ways to avoid the failing builds? I believe it may be related to this:
https://github.com/vercel/next.js/issues/51298
but wanted to check here to see if anyone else has solved this.
We're running next@canary (currently
14.1.1-canary.44
) using the app router. Not a giant app by any means, maybe 20 total routes, so I don't think this is expected behavior. Appreciate any help I can get, thanks!![Image](https://cdn.discordapp.com/attachments/1205276604721405972/1205276604960477214/CleanShot_2024-02-08_at_17.16.272x.png?ex=65d7c84f&is=65c5534f&hm=c24198c0be60d11c26c16309f73d331c5e2f81ea7152b554a0c9ae23abfcb1ab&)