dherault / dherault/serverless-offline
Lambda timeouts and memory consumption
- Dominant language
- JavaScript
- Stars
- 5.3k
- Forks
- 811
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 3
Description
Hey there!
I'm running a project using microsservices with `lerna` to start them. The problem is that many of services are returning the error `Lambda timeout`. The workaround was increase the timeout limit (from 15 to 60), but the other problem i'm running into is the huge memory consumption, causing memory leaks:


Serverless-offline version: 12.0.4
Obs: This error occurs in both Windows and MacOS.
Contributor guide
Research direction
Start by reproducing the reported Lambda timeouts and high memory consumption with the described Lerna microservices setup and serverless-offline 12.0.4 on Windows or macOS. Compare behavior at the 15- and 60-second timeout settings and identify whether memory continues growing; done means the services avoid timeouts and excessive memory use.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, javascript
- Domain
- backend, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 42/100