Skip to content

Out of memory issues #205

Open
Open

Description

@jayair

It seems like quite a few people are having out of memory errors with serverless-bundle. We're seeing many of these on Seed. It seems like a lot of it is for TS projects with functions being packaged individually and the type checkers that are spawned. But I think there are some JS ones as well.

I've started recommending serverless-esbuild. But I could use some help figuring out what the issue is, so we can fix it here.

Activity

  1. louisholley commented on Mar 8, 2021

    @louisholley

    just a bump to say this is affecting us - will check out serverless-esbuild thank you @jayair

  2. ADrejta commented on Apr 6, 2021

    @ADrejta

    @jayair The serverless-wepack plugin also had this issue and they fixed it by passing a concurrency number to limit the number of parallel packaging and type checking.

    Since serverless-bundle uses serverless-webpack checkout this pull request that was made to the serverless-webpack repo. Maybe you could use their implementation to fix this issue.

  3. added a commit that references this issue on Apr 13, 2021
    ccee945
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions