Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
kennu opened this issue Jul 22, 2016 · 4 comments
Closed

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

kennu opened this issue Jul 22, 2016 · 4 comments

Comments

@kennu
Copy link
Contributor

kennu commented Jul 22, 2016

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?

@KyleAMathews
Copy link
Contributor

Hey @kennu this would be a great question for StackOverflow — you want to move the question over there and tag it with gatsby and post the link back here?

@kennu
Copy link
Contributor Author

kennu commented Jul 22, 2016

I take it this is then a configuration issue, not a development issue?

@KyleAMathews
Copy link
Contributor

Yeah. I'd like to keep issues for bugs/new development and start moving
more "how do I do x" type questions to stackoverflow where they can live
forever. If an issue is closed it's hard to find which makes them a bit
useless for new people.
On Fri, Jul 22, 2016 at 3:47 PM Kenneth Falck notifications@github.com
wrote:

I take it this is then a configuration issue, not a development issue?


You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub
#363 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEVh9Ijw1EBGpWTkVvMATxQJWuNDOcyks5qYUh7gaJpZM4JTL-h
.

@kennu
Copy link
Contributor Author

kennu commented Jul 22, 2016

ChristopherBiscardi added a commit to ChristopherBiscardi/gatsby that referenced this issue Jun 27, 2019
## Breaking Change

Use new schema customization approach for Mdx.

`Mdx.code.body` is now `Mdx.body`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants