joewalker / devtools.html

19 stars 7 forks source link

OOM on build #3

Closed jsantell closed 8 years ago

jsantell commented 8 years ago
[18:17:56] Using gulpfile ~/Dev/devtoolsweb/gulpfile.js
[18:17:56] Starting 'build'...
[BABEL] Note: The code generator has deoptimised the styling of "/Users/jsantell/Dev/devtoolsweb/server/actors/inspector.js" as it exceeds the max of "100KB".
[BABEL] Note: The code generator has deoptimised the styling of "/Users/jsantell/Dev/devtoolsweb/server/actors/inspector.js" as it exceeds the max of "100KB".
[BABEL] Note: The code generator has deoptimised the styling of "/Users/jsantell/Dev/devtoolsweb/sham/css-property-db.js" as it exceeds the max of "100KB".
[BABEL] Note: The code generator has deoptimised the styling of "/Users/jsantell/Dev/devtoolsweb/sham/css-property-db.js" as it exceeds the max of "100KB".
[BABEL] Note: The code generator has deoptimised the styling of "/Users/jsantell/Dev/devtoolsweb/client/shared/widgets/VariablesView.js" as it exceeds the max of "100KB".
[BABEL] Note: The code generator has deoptimised the styling of "/Users/jsantell/Dev/devtoolsweb/sham/css-property-db.js" as it exceeds the max of "100KB".

<--- Last few GCs --->

   56001 ms: Scavenge 1393.2 (1456.0) -> 1393.2 (1456.0) MB, 1.2 / 0 ms (+ 1.2 ms in 1 steps since last GC) [allocation failure] [incremental marking delaying mark-sweep].
   57431 ms: Mark-sweep 1393.2 (1456.0) -> 1393.1 (1456.0) MB, 1429.6 / 0 ms (+ 2.4 ms in 2 steps since start of marking, biggest step 1.3 ms) [last resort gc].
   58832 ms: Mark-sweep 1393.1 (1456.0) -> 1392.8 (1456.0) MB, 1401.0 / 0 ms [last resort gc].

<--- JS stacktrace --->

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

Security context: 0xed2f4d37399 <JS Object>
    1: new constructor(aka NodePath) [/Users/jsantell/Dev/devtoolsweb/node_modules/babel-core/node_modules/babel-traverse/lib/path/index.js:~49] [pc=0x13657b1c94b8] (this=0x3d356fd26151 <a NodePath with map 0x397588bc2909>,hub=0x1c5117c26349 <a Hub with map 0x397588bbdd11>,parent=0x2fe918a12e49 <a Node with map 0x397588bff7e9>)
    3: get [/Users/jsantell/Dev/devtoolsweb/node_modules/babel-core/...

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory
Abort trap: 6
bgrins commented 8 years ago

I think we need to back out these commits:

https://github.com/joewalker/devtools.html/commit/b75708a51d8188bd03ba5af63c2b08ea0c63be26 https://github.com/joewalker/devtools.html/commit/e777653116bcb5f8d98f750df3e5f069de41925f

Seems related to requiring a chrome url

bgrins commented 8 years ago

Went ahead and backed out those two commits so we can get back to a working build. Let me know if you are still seeing OOMs even after

https://github.com/joewalker/devtools.html/commit/9aab272069587e6c707ad84926e7c3ea5d1ea8db https://github.com/joewalker/devtools.html/commit/35ed9331fe591ce78a3741c32a61a14a41d11a1c

bgrins commented 8 years ago

Went ahead and backed out those two commits so we can get back to a working build. Let me know if you are still seeing OOMs even after

Sounded like you found a fix for this, please reland when you get a chance