{"action":"opened","issue":{"url":"https://api.github.com/repos/rewonc/pastalog/issues/18","repository_url":"https://api.github.com/repos/rewonc/pastalog","labels_url":"https://api.github.com/repos/rewonc/pastalog/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/rewonc/pastalog/issues/18/comments","events_url":"https://api.github.com/repos/rewonc/pastalog/issues/18/events","html_url":"https://github.com/rewonc/pastalog/issues/18","id":174122731,"number":18,"title":"FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory","user":{"login":"chihyaoma","id":6862817,"avatar_url":"https://avatars.githubusercontent.com/u/6862817?v=3","gravatar_id":"","url":"https://api.github.com/users/chihyaoma","html_url":"https://github.com/chihyaoma","followers_url":"https://api.github.com/users/chihyaoma/followers","following_url":"https://api.github.com/users/chihyaoma/following{/other_user}","gists_url":"https://api.github.com/users/chihyaoma/gists{/gist_id}","starred_url":"https://api.github.com/users/chihyaoma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chihyaoma/subscriptions","organizations_url":"https://api.github.com/users/chihyaoma/orgs","repos_url":"https://api.github.com/users/chihyaoma/repos","events_url":"https://api.github.com/users/chihyaoma/events{/privacy}","received_events_url":"https://api.github.com/users/chihyaoma/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-30T20:51:31Z","updated_at":"2016-08-30T20:51:31Z","closed_at":null,"body":"After start the server, the server seems to work fine until I try to access localhost:8120 via web brower. It seems that the issue is because there were too much data loaded before. I have tried reboot the system. It doesn't help. \r\n\r\nAny suggestion will be very appreciated. \r\n\r\n==========================================================\r\n(DL) chih-yao@chihyao-ubuntu:~/DL$ pastalog --serve 8120\r\n\r\n> pastalog@1.0.1 start /home/chih-yao/DL/lib/python2.7/site-packages/pastalog\r\n> node build/server.js \"--port\" \"8120\"\r\n\r\npastalog server listening on port:  8120\r\n\r\n<--- Last few GCs --->\r\n\r\n   13396 ms: Mark-sweep 1378.7 (1434.6) -> 1378.7 (1434.6) MB, 433.6 / 0 ms [allocation failure] [GC in old space requested].\r\n   13831 ms: Mark-sweep 1378.7 (1434.6) -> 1378.7 (1434.6) MB, 434.9 / 0 ms [allocation failure] [GC in old space requested].\r\n   14266 ms: Mark-sweep 1378.7 (1434.6) -> 1378.7 (1434.6) MB, 434.7 / 0 ms [last resort gc].\r\n   14703 ms: Mark-sweep 1378.7 (1434.6) -> 1378.7 (1434.6) MB, 437.1 / 0 ms [last resort gc].\r\n\r\n\r\n<--- JS stacktrace --->\r\n\r\n==== JS stack trace =========================================\r\n\r\nSecurity context: 0x36629b1c9e31 <JS Object>\r\n    2: encode(aka utf8encode) [/home/chih-yao/DL/lib/python2.7/site-packages/pastalog/node_modules/socket.io/node_modules/engine.io/node_modules/engine.io-parser/node_modules/utf8/utf8.js:~103] [pc=0x66f6db90c9f] (this=0xec9e8310179 <an Object with map 0x275a26662199>,string=0x36629b104189 <undefined>)\r\n    3: encodePacket [/home/chih-yao/DL/lib/python2.7/site-packages/pastalog/node_modules/sock...\r\n\r\nFATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory\r\n 1: node::Abort() [node]\r\n 2: 0xfc3f6c [node]\r\n 3: v8::Utils::ReportApiFailure(char const*, char const*) [node]\r\n 4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [node]\r\n 5: v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationSpace) [node]\r\n 6: v8::internal::Runtime_AllocateInTargetSpace(int, v8::internal::Object**, v8::internal::Isolate*) [node]\r\n 7: 0x66f6da06338\r\nAborted (core dumped)\r\n\r\nnpm ERR! Linux 4.4.0-34-generic\r\nnpm ERR! argv \"/usr/bin/nodejs\" \"/usr/bin/npm\" \"start\" \"--\" \"--port\" \"8120\"\r\nnpm ERR! node v6.4.0\r\nnpm ERR! npm  v3.10.3\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! pastalog@1.0.1 start: `node build/server.js \"--port\" \"8120\"`\r\nnpm ERR! Exit status 134\r\nnpm ERR! \r\nnpm ERR! Failed at the pastalog@1.0.1 start script 'node build/server.js \"--port\" \"8120\"'.\r\nnpm ERR! Make sure you have the latest version of node.js and npm installed.\r\nnpm ERR! If you do, this is most likely a problem with the pastalog package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     node build/server.js \"--port\" \"8120\"\r\nnpm ERR! You can get information on how to open an issue for this project with:\r\nnpm ERR!     npm bugs pastalog\r\nnpm ERR! Or if that isn't available, you can get their info via:\r\nnpm ERR!     npm owner ls pastalog\r\nnpm ERR! There is likely additional logging output above.\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     /home/chih-yao/DL/lib/python2.7/site-packages/pastalog/npm-debug.log\r\n==========================================================\r\n\r\n\r\n"}}
{"actor":{"display_login":"chihyaoma"}}