Comments (7)
@tbroadley yep, sorry
/cc @timbru31
from webpack-sources.
/cc @lpsantana problem still exists? If yes, please create minimum reproducible test repo, thanks!
from webpack-sources.
We are facing the same problem (I guess since @ngtools/webpack
's commit: angular/angular-cli@b071d1c)
Exception:
<--- Last few GCs --->
[55076:0x104000000] 188129 ms: Scavenge 1339.6 (1422.0) -> 1339.1 (1423.0) MB, 5.6 / 0.0 ms (average mu = 0.256, current mu = 0.201) allocation failure
[55076:0x104000000] 188147 ms: Scavenge 1339.9 (1423.0) -> 1339.4 (1423.5) MB, 6.9 / 0.0 ms (average mu = 0.256, current mu = 0.201) allocation failure
[55076:0x104000000] 188162 ms: Scavenge 1340.1 (1423.5) -> 1339.6 (1424.5) MB, 6.0 / 0.0 ms (average mu = 0.256, current mu = 0.201) allocation failure
<--- JS stacktrace --->
==== JS stack trace =========================================
0: ExitFrame [pc: 0x1495cf05be3d]
1: StubFrame [pc: 0x1495cf00d40b]
2: ConstructFrame [pc: 0x1495cf00cfa3]
3: StubFrame [pc: 0x1495d19605fd]
Security context: 0x35667039e6e1 <JSObject>
4: _replaceInStringNode [0x3566556b5841] [/Users/timbru/work/ume/door-to-door-webapp/node_modules/webpack-sources/lib/ReplaceSource.js:209] [bytecode=0x3566436ae051 offset=81](this=0x356665d1f221 <Source map = 0x3566bb495919>,output=0x35...
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
1: 0x10003b125 node::Abort() [/Users/timbru/.nvm/versions/node/v10.15.0/bin/node]
2: 0x10003b32f node::OnFatalError(char const*, char const*) [/Users/timbru/.nvm/versions/node/v10.15.0/bin/node]
3: 0x1001a8e85 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/Users/timbru/.nvm/versions/node/v10.15.0/bin/node]
4: 0x1005742a2 v8::internal::Heap::FatalProcessOutOfMemory(char const*) [/Users/timbru/.nvm/versions/node/v10.15.0/bin/node]
5: 0x100576d75 v8::internal::Heap::CheckIneffectiveMarkCompact(unsigned long, double) [/Users/timbru/.nvm/versions/node/v10.15.0/bin/node]
6: 0x100572c1f v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [/Users/timbru/.nvm/versions/node/v10.15.0/bin/node]
7: 0x100570df4 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/Users/timbru/.nvm/versions/node/v10.15.0/bin/node]
8: 0x10057d68c v8::internal::Heap::AllocateRawWithLigthRetry(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [/Users/timbru/.nvm/versions/node/v10.15.0/bin/node]
9: 0x10057d70f v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [/Users/timbru/.nvm/versions/node/v10.15.0/bin/node]
10: 0x10054d054 v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationSpace) [/Users/timbru/.nvm/versions/node/v10.15.0/bin/node]
11: 0x1007d4f24 v8::internal::Runtime_AllocateInNewSpace(int, v8::internal::Object**, v8::internal::Isolate*) [/Users/timbru/.nvm/versions/node/v10.15.0/bin/node]
12: 0x1495cf05be3d
sh: line 1: 55076 Abort trap: 6 ng build --prod "--source-map" "true" "--progress" "false"
from webpack-sources.
@tbroadley can you create minimum reproducible test repo?
from webpack-sources.
Hey, I assume you meant @timbru31?
from webpack-sources.
@evilebottnawi same problem as #66
from webpack-sources.
Thanks, let's close in favor #66 (new issue), any reproducible test repo welcome, we need more information
from webpack-sources.
Related Issues (20)
- TypeError: value.split is not a function HOT 1
- ConcatSource.js:42 failing with Cannot read property 'source' of undefined HOT 2
- res.code is generated code and not Source.prototype.source()
- Content and Map of this Source is not available (only size() is supported) webpack5 HOT 1
- TypeError: Cannot read property 'length' of null HOT 6
- "Maximum call stack size exceeded" in streamChunks* HOT 110
- applySourceMap for webpack 4 is super slow HOT 3
- How to use this library to generate source map to a loader. Is there any guide or example? HOT 1
- Source.Replace can't replace all HOT 20
- ng build success but throwing error on ng serve -- return new error HOT 5
- ReplaceSource.js:82 this._source.node is not a function HOT 5
- Expose _name as public property HOT 11
- last version webpack-sources consuming [email protected] HOT 2
- How to replace the RawSource's value ? HOT 1
- UnhandledPromiseRejectionWarning: Error: "." is not in the SourceMap (reproducible) HOT 4
- Error: "." is not in the SourceMap. HOT 1
- HookWebpackError: item.node is not a function HOT 10
- webpack-sources' Source type is not assigneable to webpack5 source type HOT 11
- why sourceAndMap columns: false is different with columns: true HOT 1
- [question] why ReplaceSource.map.sourcesContent not change HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webpack-sources.