JavaScript heap out of memory when packaging many functions
<!-- 1. Please check if an issue already exists so there are no duplicates 2. Fill out the whole template so we have a good overview on the issue 3. Do not remove any section of the template. If something is not applicable leave it empty but leave it in the Issue 4. Please follow the template, otherwise we'll have to ask you to update it --> # This is a Bug Report ## Description I'm in the process of trying to upgrade `serverless-webpack` version from `2.2.3`, where I do not experience the following issue. Our serverless configuration has `package: invididually: true` set, and about 40 functions. When I try to upgrade to a later version of `serverless-webpack` and run `sls webpack`, the build will run for about a minute and then I get the following error: ``` lambda:daniel.cottone $ npm run build > expert-api-lambda@0.1.0 build /Users/daniel.cottone/Projects/expert-api/lambda > sls webpack --stage dev Serverless: Bundling with Webpack... ts-loader: Using typescript@2.5.2 and /Users/daniel.cottone/Projects/expert-api/lambda/tsconfig.json ts-loader: Using typescript@2.5.2 and /Users/daniel.cottone/Projects/expert-api/lambda/tsconfig.json ts-loader: Using typescript@2.5.2 and /Users/daniel.cottone/Projects/expert-api/lambda/tsconfig.json ts-loader: Using typescript@2.5.2 and /Users/daniel.cottone/Projects/expert-api/lambda/tsconfig.json ts-loader: Using typescript@2.5.2 and /Users/daniel.cottone/Projects/expert-api/lambda/tsconfig.json ts-loader: Using typescript@2.5.2 and
Posted by daniel-cottone on Dec 10, 2017, 3:55 PM
Tags
Related issues
- struct's lifetime requirements can be bypassed via covariant field assignment
- Proposal to Reorganize the Moderation Team and Review Moderation Policies
- Progressive FPS degradation appears to be related to dota2.com — blocking the domain prevents the performance loss
- proposal: container/...: generic collection types
- Better Custom Endpoint BYOK
- A concrete policy for backward compatibility until Godot 5.0
Raise real-world problems, find people facing the same issue, and discuss solutions.4,500 issues0 comments
github (Other)
struct's lifetime requirements can be bypassed via covariant field assignment
Proposal to Reorganize the Moderation Team and Review Moderation Policies
Progressive FPS degradation appears to be related to dota2.com — blocking the domain prevents the performance loss
proposal: container/...: generic collection types
Better Custom Endpoint BYOK
A concrete policy for backward compatibility until Godot 5.0
New MTP models not supported
Tracking: 429 / Capacity Issues
JavaScript heap out of memory when packaging many functions
<!-- 1. Please check if an issue already exists so there are no duplicates 2. Fill out the whole template so we have a good overview on the issue 3. Do not remove any section of the template. If something is not applicable leave it empty but leave it in the Issue 4. Please follow the template, otherwise we'll have to ask you to update it --> # This is a Bug Report ## Description I'm in the process of trying to upgrade `serverless-webpack` version from `2.2.3`, where I do not experience the following issue. Our serverless configuration has `package: invididually: true` set, and about 40 functions. When I try to upgrade to a later version of `serverless-webpack` and run `sls webpack`, the build will run for about a minute and then I get the following error: ``` lambda:daniel.cottone $ npm run build > expert-api-lambda@0.1.0 build /Users/daniel.cottone/Projects/expert-api/lambda > sls webpack --stage dev Serverless: Bundling with Webpack... ts-loader: Using typescript@2.5.2 and /Users/daniel.cottone/Projects/expert-api/lambda/tsconfig.json ts-loader: Using typescript@2.5.2 and /Users/daniel.cottone/Projects/expert-api/lambda/tsconfig.json ts-loader: Using typescript@2.5.2 and /Users/daniel.cottone/Projects/expert-api/lambda/tsconfig.json ts-loader: Using typescript@2.5.2 and /Users/daniel.cottone/Projects/expert-api/lambda/tsconfig.json ts-loader: Using typescript@2.5.2 and /Users/daniel.cottone/Projects/expert-api/lambda/tsconfig.json ts-loader: Using typescript@2.5.2 and
Comments (0)
No comments yet. Start the discussion.