electron-userland / electron-userland/electron-webpack
Heap out of memory on all but dev builds
- Dominant language
- TypeScript
- Stars
- 902
- Forks
- 168
- PR merge metrics
- No merged PRs in 30d
Description
Any time I try to use electron-webpack for building or production testing I get a heap out of memory crash. It works fine if I do `electron-webpack dev` but that is the only case it works.
I am currently trying to make a win distribution with electron-builder. Do I need to make my own webpack files. I thought that electron-webpack would handle this for me, since electron-builder is recommended.
Here is the heap error.
```
93% [1] after seal
<--- Last few GCs --->
[32727:0x3ab9970] 29606 ms: Mark-sweep 1371.1 (1424.3) -> 1370.7 (1425.3) MB, 450.1 / 0.0 ms (average mu = 0.112, current mu = 0.008) allocation failure scavenge might not succeed
[32727:0x3ab9970] 30228 ms: Mark-sweep 1371.9 (1425.3) -> 1371.5 (1426.3) MB, 618.9 / 0.0 ms (average mu = 0.056, current mu = 0.006) allocation failure scavenge might not succeed
<--- JS stacktrace --->
==== JS stack trace =========================================
0: ExitFrame [pc: 0x35bf91bdbe1d]
1: StubFrame [pc: 0x35bf91bdd1df]
Security context: 0x329cd8a9e6e9
2: getIntersectionType(aka getIntersectionType) [0x2cf4bdc23249] [/home/marcus/work/ClientElectron/node_modules/typescript/lib/typescript.js:~39985] [pc=0x35bf9244c452](this=0x3f34c67026f1 ,types=0x3760a1b4de11 ,aliasSymbol=0x3f34c67026f1 ,aliasTypeArguments=0x3f34c67026f1
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.