Skip to content

runtests-browser cause heap out of memory error #24697

Closed
@ghost

Description

TypeScript Version: master

Code

gulp runtests-browser

Expected behavior:

Not to crash

Actual behavior:

Saving sourcemaps for /home/andy/TypeScript_1/TypeScript/built/local/bundle.js
Fixing sourcemaps for /home/andy/TypeScript_1/TypeScript/built/local/bundle.js

<--- Last few GCs --->

[20271:0x2d46180]   101105 ms: Mark-sweep 1363.0 (1447.8) -> 1363.0 (1447.8) MB, 798.2 / 0.0 ms  allocation failure GC in old space requested
[20271:0x2d46180]   101788 ms: Mark-sweep 1363.0 (1447.8) -> 1363.0 (1431.8) MB, 683.1 / 0.0 ms  last resort GC in old space requested
[20271:0x2d46180]   102440 ms: Mark-sweep 1363.0 (1431.8) -> 1363.0 (1431.8) MB, 651.8 / 0.0 ms  last resort GC in old space requested


<--- JS stacktrace --->

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

    0: ExitFrame [pc: 0xe3b2ec0427d]
Security context: 0x7ee065206a9 <JSObject>
    1: apply [/home/andy/TypeScript_1/TypeScript/node_modules/sorcery/dist/sorcery.cjs.js:~543] [pc=0xe3b2fa1a764](this=0x1313fed2bc1 <Chain map = 0x1189be8cd111>,options=0x4ae2bf022e1 <undefined>)
    2: arguments adaptor frame: 0->1
    3: /* anonymous */ [/home/andy/TypeScript_1/TypeScript/Gulpfile.js:841] [bytecode=0x250c53542c39 offset=359](this=0x143bd38...

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
 1: node::Abort() [gulp]
 2: 0x876afc [gulp]
 3: v8::Utils::ReportOOMFailure(char const*, bool) [gulp]
 4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [gulp]
 5: v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationSpace) [gulp]
 6: v8::internal::Runtime_AllocateInTargetSpace(int, v8::internal::Object**, v8::internal::Isolate*) [gulp]
 7: 0xe3b2ec0427d
Aborted (core dumped)

Metadata

Metadata

Assignees

Labels

InfrastructureIssue relates to TypeScript team infrastructure

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions