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

gulp build crash #695

Closed
akshayvinchurkar1 opened this issue Oct 5, 2017 · 6 comments
Closed

gulp build crash #695

akshayvinchurkar1 opened this issue Oct 5, 2017 · 6 comments

Comments

@akshayvinchurkar1
Copy link

akshayvinchurkar1 commented Oct 5, 2017

after doing this I still get this error #658 shows it fixed but not yet

<--- Last few GCs --->

   35594 ms: Scavenge 171.4 (311.6) -> 156.4 (311.6) MB, 5.4 / 0.0 ms [allocation failure].
   36088 ms: Mark-sweep 631.5 (786.6) -> 442.0 (533.1) MB, 14.7 / 0.0 ms (+ 89.5 ms in 3 steps since start of marking, biggest step 77.2 ms) [GC interrupt] [GC in old space requested].
   40136 ms: Mark-sweep 1154.5 (1213.6) -> 505.9 (879.3) MB, 46.4 / 0.0 ms (+ 185.1 ms in 43 steps since start of marking, biggest step 108.6 ms) [GC interrupt] [GC in old space requested].


<--- JS stacktrace --->

==== JS stack trace =========================================

Security context: 00000207837CF791 <JS Object>
    1: DoJoin(aka DoJoin) [native array.js:~129] [pc=000000F7929D377F] (this=0000020783704381 <undefined>,w=00000163E94FF361 <JS Array[17998088]>,x=17998088,N=00000207837043C1 <true>,J=0000013EE5904221 <String[8]\: ,\n      >,I=00000207837B7941 <JS Function ConvertToString (SharedFunctionInfo 00000207837526E1)>)
    2: Join(aka Join) [native array.js:180] [pc=000000F791BC6FF2] (this=000002078...

FATAL ERROR: invalid table size Allocation failed - JavaScript heap out of memory
@neilhem
Copy link
Collaborator

neilhem commented Oct 6, 2017

Hi, this issue is nodejs related, not this generator itself.

@akshayvinchurkar1
Copy link
Author

ok so how do i solved this?

@heckctor
Copy link

heckctor commented Dec 5, 2017

Hi, I also want to know how to solve it

@heckctor
Copy link

heckctor commented Dec 6, 2017

I already knew how to solve it, you just have to add the following lines in gulpfile.js:

"scripts": { "build": "node --max-old-space-size=4000 ./node_modules/.bin/gulp build.js" }

@rmlzy
Copy link

rmlzy commented Jan 7, 2018

@akshayvinchurkar1
use this package: increase-memory-limit.

do this:

npm install -g increase-memory-limit

# Run from the root location of your project:
increase-memory-limit

@UlisesGascon
Copy link
Member

I assume that this bug was fixed, If not we can re-open it again 😃

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

5 participants