Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

gulp prod always fail #1940

Open
hazemhagrass opened this issue Dec 21, 2017 · 4 comments
Open

gulp prod always fail #1940

hazemhagrass opened this issue Dec 21, 2017 · 4 comments

Comments

@hazemhagrass
Copy link

Hi,
I'm wondering why gulp prod command is failing on my ubuntu! I didn't touch your default gulp file and using latest meanjs code.
screen shot 2017-12-21 at 8 09 18 am

I tried gulp prod --max-old-space-size=2000 but it stuck forever.
screen shot 2017-12-21 at 8 11 33 am

@hazemhagrass
Copy link
Author

No gulp is working but crashing even in your fresh version.
one of my uploads folder is 15GB, gulp is crashing in 1 minute after start beaus of that. Everything is working fine without this folder. My idea is that I have to put this folder there! Any ideas!
screen shot 2017-12-21 at 10 19 07 pm

@PierreBrisorgueil
Copy link
Contributor

@hazemhagrass

  • so the server never start ?
  • where is your folder ? path ?
  • and what does it contain as a file extension?

if I understand well for me, maybe linters tries to pass on your upload folder, and with the 15go, is probably the problem

@hazemhagrass
Copy link
Author

@PierreBrisorgueil
#1 Server is starting now. Crashes in less than a minute with error mentioned above in my last comment
#2 My directory folder is /modules/insights/client/img/uploads
#3 all files extensions are .jpg, .jpeg

@sedkis
Copy link

sedkis commented Dec 29, 2017

It says heap out of memory, how much RAM do you have? or if you're in virtual, how much VRAM have you dedicated to the application? Minimum should be 8GB.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants