Skip to content

Out of memory with lots of files (1000+) under AWS Lambda #363

@kennu

Description

@kennu

I've started to get SIGKILLs when running Gatsby builds under AWS Lambda, after my project went over 1000 .md files. According to the logs all available memory (1536 MB) is being used, so I'm pretty sure this is caused by running out of memory.

Any ideas how to scale Gatsby without requiring more and more memory when the number of static files grows?

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