git ssb

0+

kyrias-defunct / git-ssb



forked from cel / git-ssb

git-ssb is mostly working well for me but when I try and view patchbay the server crashes with

%fmsTVlFae8S2E/Xbf4t23TpMQgOedLC1g4GWfUgh708=.sha256
Openjoshuavial opened this issue on 9/23/2017, 2:08:52 AM

git-ssb is mostly working well for me but when I try and view patchbay the server crashes with

<--- Last few GCs --->

   19957 ms: Mark-sweep 1269.0 (1314.4) -> 1269.0 (1315.4) MB, 581.8 / 0.0 ms [allocation failure] [GC in old space requested].
   20626 ms: Mark-sweep 1269.0 (1315.4) -> 1269.0 (1315.4) MB, 668.1 / 0.0 ms [allocation failure] [GC in old space requested].
   22101 ms: Mark-sweep 1269.0 (1315.4) -> 1269.0 (1278.4) MB, 1474.4 / 0.0 ms [last resort gc].
   22648 ms: Mark-sweep 1269.0 (1278.4) -> 1268.9 (1277.4) MB, 546.7 / 0.0 ms [last resort gc].


<--- JS stacktrace --->

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

Security context: 0x346844ecfb39 <JS Object>
    1: /* anonymous */ [/Users/joshua/.nvm/versions/node/v6.10.3/lib/node_modules/git-ssb/node_modules/ssb-git/linearize.js:~21] [pc=0x2f804105d1f2] (this=0x21751c4acfa9 <JS Global Object>,list=0x27bb6daf20d1 <JS Array[24142620]>)
    2: arguments adaptor frame: 3->1
    3: InnerArrayForEach(aka InnerArrayForEach) [native array.js:942] [pc=0x2f8041039f10] (this=0x346844e04381 <undefined>,bq=0x1...

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
 1: node::Abort() [/Users/joshua/.nvm/versions/node/v6.10.3/bin/node]
 2: node::FatalException(v8::Isolate*, v8::Local<v8::Value>, v8::Local<v8::Message>) [/Users/joshua/.nvm/versions/node/v6.10.3/bin/node]
 3: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [/Users/joshua/.nvm/versions/node/v6.10.3/bin/node]
 4: v8::internal::Factory::NewUninitializedFixedArray(int) [/Users/joshua/.nvm/versions/node/v6.10.3/bin/node]
 5: v8::internal::Factory::NewJSArrayStorage(v8::internal::Handle<v8::internal::JSArray>, int, int, v8::internal::ArrayStorageAllocationMode) [/Users/joshua/.nvm/versions/node/v6.10.3/bin/node]
 6: v8::internal::Factory::NewJSArray(v8::internal::ElementsKind, int, int, v8::internal::ArrayStorageAllocationMode, v8::internal::PretenureFlag) [/Users/joshua/.nvm/versions/node/v6.10.3/bin/node]
 7: v8::internal::ElementsAccessor::Concat(v8::internal::Isolate*, v8::internal::Arguments*, unsigned int) [/Users/joshua/.nvm/versions/node/v6.10.3/bin/node]
 8: v8::internal::(anonymous namespace)::Fast_ArrayConcat(v8::internal::Isolate*, v8::internal::Arguments*) [/Users/joshua/.nvm/versions/node/v6.10.3/bin/node]
 9: v8::internal::Builtin_Impl_ArrayConcat(v8::internal::(anonymous namespace)::BuiltinArguments<(v8::internal::BuiltinExtraArguments)0>, v8::internal::Isolate*) [/Users/joshua/.nvm/versions/node/v6.10.3/bin/node]
10: v8::internal::Builtin_ArrayConcat(int, v8::internal::Object**, v8::internal::Isolate*) [/Users/joshua/.nvm/versions/node/v6.10.3/bin/node]
11: 0x2f8040b092a7

I also notice on the index page I get the following error a fair way down the list

Error
    at ZE (/Users/joshua/workspace/ssb/patchwork/node_modules/zerr/index.js:11:42)
    at ZError (/Users/joshua/workspace/ssb/patchwork/node_modules/zerr/index.js:13:14)
    at Object.linksOpts (/Users/joshua/workspace/ssb/patchwork/node_modules/scuttlebot/lib/validators.js:166:14)
    at validate (/Users/joshua/workspace/ssb/patchwork/node_modules/muxrpc-validation/index.js:130:15)
    at Object.<anonymous> (/Users/joshua/workspace/ssb/patchwork/node_modules/muxrpc-validation/index.js:91:17)
    at Object.hooked (/Users/joshua/workspace/ssb/patchwork/node_modules/hoox/index.js:10:15)
    at Object.localCall (/Users/joshua/workspace/ssb/patchwork/node_modules/muxrpc/local-api.js:31:31)
    at Object.<anonymous> (/Users/joshua/workspace/ssb/patchwork/node_modules/muxrpc/local-api.js:37:22)
    at PacketStreamSubstream.stream.read (/Users/joshua/workspace/ssb/patchwork/node_modules/muxrpc/stream.js:67:23)
    at PacketStream._onstream (/Users/joshua/workspace/ssb/patchwork/node_modules/packet-stream/index.js:230:11)

Built with git-ssb-web