-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Build fails on Windows when running node docs : FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory #1322
Comments
Good hunch. Another possibility is you have a stale build of some sort. Have you tried running |
Thanks for the quick answer. This laptop is actually all new, bought it a couple weeks ago, I believe it was even the first node program that was executed on it. And I unzipped the master in a temp dir, so there was no existing node_modules folder inside it Fabien |
My hunch is that this is documentationjs/documentation#133. |
@fnicollet Is this still happening? |
Hello @jfirebaugh , Just downloaded a fresh copy of master and ran npm install. It still crashes on Windows 10 I attached the log file Fabien |
This looks like a bug with |
Hello,
Just downloaded a zip copy of the mapbox-gl-js master from github and ran "npm install" as usual (it used to work when building 0.7.x).
After a while, the program crashes when running "node docs/_generate/generate.js" with the following error:
I use node v0.12.4 on WIndows 8.1 x64. The process crashes when it reaches about 780Mb or RAM used. I think I saw in the changes that you changed the documentation generator, maybe it hasn't been tested on Windows?
The strange thing is that before generating the docs, the process only takes about 80Mb or RAM so there is definately a problem with the docs generation.
I looked it up online and it seems like the "max-old-space-size" option can sort this out. I tried running
But I get the same error.
Any idea?
Fabien
The text was updated successfully, but these errors were encountered: