Skip to content

Instantly share code, notes, and snippets.

@davojta
Created March 13, 2019 11:38
Show Gist options
  • Save davojta/d7dba19d5f8f2d5be7932043fff07c84 to your computer and use it in GitHub Desktop.
Save davojta/d7dba19d5f8f2d5be7932043fff07c84 to your computer and use it in GitHub Desktop.
Output for Arkit crash during running on medium size project
╰─$ LEVEL=debug npx arkit
npx: installed 268 in 9.258s
[2019-03-13 11:37:49.229 +0000] INFO : Options
[2019-03-13 11:37:49.232 +0000] INFO :
_: "."
directory: "/home/user/projects/dev/work/chrome_gmail_plugin"
d: "."
exclude: [
"test",
"tests",
"dist",
"coverage",
"**/*.test.*",
"**/*.spec.*",
"**/*.min.*"
]
e: [
"test",
"tests",
"dist",
"coverage",
"**/*.test.*",
"**/*.spec.*",
"**/*.min.*"
]
$0: "arkit"
Running against /home/user/projects/dev/work/chrome_gmail_plugin with the following config:
{
"components": [
{
"type": "Dependency",
"patterns": [
"node_modules/*"
]
},
{
"type": "Component",
"patterns": [
"**/*.ts",
"**/*.js",
"**/*.jsx",
"**/*.tsx"
]
}
],
"excludePatterns": [
"test",
"tests",
"dist",
"coverage",
"**/*.test.*",
"**/*.spec.*",
"**/*.min.*"
],
"output": [
{
"path": [
"svg"
],
"groups": [
{
"first": true,
"components": [
"Component"
]
},
{
"type": "Dependencies",
"components": [
"Dependency"
]
}
]
}
]
}
[2019-03-13 11:37:49.237 +0000] DEBUG: Found TypeScript config tsconfig.json
[2019-03-13 11:37:49.237 +0000] DEBUG: Registering ts-config paths...
[2019-03-13 11:37:49.238 +0000] DEBUG:
Parsing ===============--------------------------------------------------------------------------------------------------------------------------------------[2019-03-13 11:37:49.385 +0000] INFO : Searching files...
Parsing =====------------------------------------------------------------------------------------------------------------------------------------------------
<--- Last few GCs --->
[21586:0x3dbc090] 24914 ms: Mark-sweep 1396.7 (1424.5) -> 1396.3 (1424.5) MB, 635.9 / 0.0 ms (average mu = 0.142, current mu = 0.028) allocation failure scavenge might not succeed
[21586:0x3dbc090] 25880 ms: Mark-sweep 1397.5 (1424.5) -> 1397.1 (1425.5) MB, 957.9 / 0.0 ms (average mu = 0.064, current mu = 0.008) allocation failure scavenge might not succeed
<--- JS stacktrace --->
==== JS stack trace =========================================
0: ExitFrame [pc: 0x2c9aaacdbe1d]
Security context: 0x107b2b31e6e1 <JSObject>
1: stringSlice(aka stringSlice) [0x21962df9ccb9] [buffer.js:601] [bytecode=0x21962dfd3669 offset=185](this=0x0c59c5b026f1 <undefined>,buf=0x14f7bd739af9 <Uint8Array map = 0xfbf1e2d1ca1>,encoding=0x107b2b33cbe9 <String[5]: utf-8>,start=0,end=2389785)
2: toString [0x15646b19d471] [buffer.js:667] [bytecode=0x21962dfd3159 offset=145](this=0x14f7bd739af9 ...
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
1: 0x8dc1c0 node::Abort() [node]
2: 0x8dc20c [node]
3: 0xad60ae v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [node]
4: 0xad62e4 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [node]
5: 0xec3972 [node]
6: 0xec3a78 v8::internal::Heap::CheckIneffectiveMarkCompact(unsigned long, double) [node]
7: 0xecfb52 v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [node]
8: 0xed0484 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node]
9: 0xed30f1 v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [node]
10: 0xea2d3b v8::internal::Factory::NewRawTwoByteString(int, v8::internal::PretenureFlag) [node]
11: 0xea3642 v8::internal::Factory::NewStringFromUtf8(v8::internal::Vector<char const>, v8::internal::PretenureFlag) [node]
12: 0xae40f9 v8::String::NewFromUtf8(v8::Isolate*, char const*, v8::NewStringType, int) [node]
13: 0x99de18 node::StringBytes::Encode(v8::Isolate*, char const*, unsigned long, node::encoding, v8::Local<v8::Value>*) [node]
14: 0x8f8388 [node]
15: 0xb5e7cf [node]
16: 0xb5f339 v8::internal::Builtin_HandleApiCall(int, v8::internal::Object**, v8::internal::Isolate*) [node]
17: 0x2c9aaacdbe1d
[1] 21586 abort (core dumped) LEVEL=debug npx arkit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment