Skip to content

Instantly share code, notes, and snippets.

@prettydiff
Created September 19, 2016 22:10
Show Gist options
  • Save prettydiff/e60c9236e16a478808a4108e50b7118d to your computer and use it in GitHub Desktop.
Save prettydiff/e60c9236e16a478808a4108e50b7118d to your computer and use it in GitHub Desktop.
V8 GC
<--- Last few GCs --->
6804 ms: Mark-sweep 1379.8 (1424.2) -> 1160.4 (1204.8) MB, 276.4 / 0 ms [allocation failure] [GC in old space requested].
7106 ms: Mark-sweep 1160.4 (1204.8) -> 1160.4 (1204.8) MB, 302.2 / 0 ms [allocation failure] [GC in old space requested].
7403 ms: Mark-sweep 1160.4 (1204.8) -> 1160.4 (1204.8) MB, 297.3 / 0 ms [last resort gc].
7690 ms: Mark-sweep 1160.4 (1204.8) -> 1160.4 (1204.8) MB, 286.5 / 0 ms [last resort gc].
<--- JS stacktrace --->
==== JS stack trace =========================================
Security context: 0x21a60b8c9e31 <JS Object>
2: jspretty__tokenize_strlen(aka jspretty__tokenize_strlen) [/Users/echeney/biddle/prettydiff/lib/jspretty.js:~1462] [pc=0x1c2ea4632eef] (this=0x21a60b804189 <undefined>,item=0x33ad41c57439 <Very long string[12438]>)
3: jspretty__tokenize(aka jspretty__tokenize) [/Users/echeney/biddle/prettydiff/lib/jspretty.js:~251] [pc=0x1c2ea473df24] (this=0x21a60b804189 <undefined>)
4: jspretty(...
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
1: node::Abort() [/Users/echeney/.nvm/versions/node/v6.3.1/bin/node]
2: node::FatalException(v8::Isolate*, v8::Local<v8::Value>, v8::Local<v8::Message>) [/Users/echeney/.nvm/versions/node/v6.3.1/bin/node]
3: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [/Users/echeney/.nvm/versions/node/v6.3.1/bin/node]
4: v8::internal::Factory::NewUninitializedFixedArray(int) [/Users/echeney/.nvm/versions/node/v6.3.1/bin/node]
5: v8::internal::(anonymous namespace)::ElementsAccessorBase<v8::internal::(anonymous namespace)::FastPackedObjectElementsAccessor, v8::internal::(anonymous namespace)::ElementsKindTraits<(v8::internal::ElementsKind)2> >::ConvertElementsWithCapacity(v8::internal::Handle<v8::internal::JSObject>, v8::internal::Handle<v8::internal::FixedArrayBase>, v8::internal::ElementsKind, unsigned int, unsigned int, unsigned int, int) [/Users/echeney/.nvm/versions/node/v6.3.1/bin/node]
6: v8::internal::(anonymous namespace)::ElementsAccessorBase<v8::internal::(anonymous namespace)::FastPackedObjectElementsAccessor, v8::internal::(anonymous namespace)::ElementsKindTraits<(v8::internal::ElementsKind)2> >::GrowCapacityAndConvertImpl(v8::internal::Handle<v8::internal::JSObject>, unsigned int) [/Users/echeney/.nvm/versions/node/v6.3.1/bin/node]
7: v8::internal::Runtime_GrowArrayElements(int, v8::internal::Object**, v8::internal::Isolate*) [/Users/echeney/.nvm/versions/node/v6.3.1/bin/node]
8: 0x1c2ea3906338
9: 0x1c2ea39270e5
Abort trap: 6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment