Skip to content
This repository was archived by the owner on Apr 1, 2022. It is now read-only.
This repository was archived by the owner on Apr 1, 2022. It is now read-only.

stencil-dev-server returns FATAL ERROR: CALL_AND_RETRY_LAST #17

@TheEYL

Description

@TheEYL

After running npm run dev despite the server returning:

[24:48.8] @stencil/core v0.1.1-0
[24:48.9] build, app, dev mode, started ...
[24:48.9] compile started ...
[24:56.2] compile finished in 7.32 s
[24:57.1] bundle styles started ...
[24:57.1] bundle modules started ...
[25:03.0] bundle styles finished in 5.98 s
[25:05.4] bundle modules finished in 8.35 s
[25:07.5] build finished, watching for changes... in 18.64 s

Nothing is rendered on the browser. Eventually, after some time, the server crashes with this error.

<--- Last few GCs --->

[31933:0x3fff920]   200566 ms: Mark-sweep 1397.9 (1457.8) -> 1397.9 (1457.8) MB, 1462.8 / 6.4 ms  allocation failure GC in old space re
quested
[31933:0x3fff920]   202141 ms: Mark-sweep 1397.9 (1457.8) -> 1397.9 (1426.8) MB, 1557.7 / 6.5 ms  last resort GC in old space requested
[31933:0x3fff920]   203642 ms: Mark-sweep 1397.9 (1426.8) -> 1397.9 (1426.8) MB, 1500.1 / 5.2 ms  last resort GC in old space requested


<--- JS stacktrace --->

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

Security context: 0x38fe90a25739 <JSObject>
    2: has [/home/leo/Documents/Development/AndroidProjects/IonicProjects/stencil-test/ionic-stencil-hn-app/node_modules/chokidar/index
.js:~483] [pc=0x25b472128a45](this=0x30f4a062a849 <Object map = 0x966dd1284d9>,item=0x1b3688ebdf69 <String[25]: ios-add-circle-outline.
js>)
    3: /* anonymous */ [/home/leo/Documents/Development/AndroidProjects/IonicProjects/stencil-test/ionic-stencil-hn-app/nod...

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
 1: node::Abort() [stencil-dev-server]
 2: 0x11ef43c [stencil-dev-server]
 3: v8::Utils::ReportOOMFailure(char const*, bool) [stencil-dev-server]
 4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [stencil-dev-server]
 5: v8::internal::Factory::NewFixedArray(int, v8::internal::PretenureFlag) [stencil-dev-server]
 6: v8::internal::HashTable<v8::internal::StringTable, v8::internal::StringTableShape>::NewInternal(v8::internal::Isolate*, int, v8::in
ternal::PretenureFlag) [stencil-dev-server]
 7: v8::internal::HashTable<v8::internal::StringTable, v8::internal::StringTableShape>::New(v8::internal::Isolate*, int, v8::internal::
PretenureFlag, v8::internal::MinimumCapacity) [stencil-dev-server]
 8: v8::internal::HashTable<v8::internal::StringTable, v8::internal::StringTableShape>::EnsureCapacity(v8::internal::Handle<v8::interna
l::StringTable>, int, v8::internal::PretenureFlag) [stencil-dev-server]
 9: v8::internal::StringTable::LookupString(v8::internal::Isolate*, v8::internal::Handle<v8::internal::String>) [stencil-dev-server]
10: v8::internal::Runtime_HasProperty(int, v8::internal::Object**, v8::internal::Isolate*) [stencil-dev-server]
11: 0x25b471f842fd
Aborted (core dumped)
     

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions