serverless-bundle icon indicating copy to clipboard operation
serverless-bundle copied to clipboard

Memory issues with Serverless-Bundle v5

Open justinasit opened this issue 2 years ago • 2 comments

Hello,

I've recently tried upgrading serverless-bundle from version 4.4.0 to version 5.5.0. The new version works fine locally and the deployment goes through, but whenever I try to deploy our lambda functions via BitBucket Pipelines - I start getting "out of memory" issues. Even if I increase memory from 4GB to 7GB, it still doesn't help.

Is there any reason why serverless-bundle v5 would use so much more memory? This is the same for all v5 versions from 5.0.0 to 5.5.0.

If anyone has experienced this, it would be great to get some tips on how they solved it.

Thanks.

justinasit avatar Nov 22 '22 13:11 justinasit

I'm also having the same issue with v6.0.0

chris5marsh avatar Jan 17 '23 11:01 chris5marsh

Same here, out of memory issues in both offline mode and while packaging

kartikrao avatar Apr 17 '23 02:04 kartikrao