{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/jest/issues/5239","repository_url":"https://api.github.com/repos/facebook/jest","labels_url":"https://api.github.com/repos/facebook/jest/issues/5239/labels{/name}","comments_url":"https://api.github.com/repos/facebook/jest/issues/5239/comments","events_url":"https://api.github.com/repos/facebook/jest/issues/5239/events","html_url":"https://github.com/facebook/jest/issues/5239","id":286374725,"number":5239,"title":"Updating to Jest 22 causes coverage to run out of memory","user":{"login":"gaearon","id":810438,"avatar_url":"https://avatars0.githubusercontent.com/u/810438?v=4","gravatar_id":"","url":"https://api.github.com/users/gaearon","html_url":"https://github.com/gaearon","followers_url":"https://api.github.com/users/gaearon/followers","following_url":"https://api.github.com/users/gaearon/following{/other_user}","gists_url":"https://api.github.com/users/gaearon/gists{/gist_id}","starred_url":"https://api.github.com/users/gaearon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaearon/subscriptions","organizations_url":"https://api.github.com/users/gaearon/orgs","repos_url":"https://api.github.com/users/gaearon/repos","events_url":"https://api.github.com/users/gaearon/events{/privacy}","received_events_url":"https://api.github.com/users/gaearon/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":22,"created_at":"2018-01-05T18:58:20Z","updated_at":"2018-03-09T23:10:50Z","closed_at":"2018-01-11T09:38:13Z","author_association":"MEMBER","body":"Since updating to Jest 22 in https://github.com/facebook/react/pull/11956, all React test runs with coverage fail:\r\n\r\n<img width=\"1208\" alt=\"screen shot 2018-01-05 at 6 56 58 pm\" src=\"https://user-images.githubusercontent.com/810438/34623672-3c09e0ea-f24a-11e7-8e1c-58a9a20b5939.png\">\r\n\r\nA failure looks like this:\r\n\r\n```\r\n PASS  packages/react-dom/src/events/__tests__/SelectEventPlugin-test.js\r\n PASS  packages/react-dom/src/__tests__/ReactDOMOption-test.js (8.546s)\r\n PASS  packages/react-dom/src/__tests__/ReactMountDestruction-test.js (8.088s)\r\n\r\n<--- Last few GCs --->\r\n\r\n[199:0x283aea0]   742209 ms: Mark-sweep 1412.2 (1467.6) -> 1412.2 (1466.6) MB, 2408.5 / 0.0 ms  (+ 0.0 ms in 0 steps since start of marking, biggest step 0.0 ms, walltime since start of marking 2409 ms) last resort GC in old space requested\r\n[199:0x283aea0]   744462 ms: Mark-sweep 1412.2 (1466.6) -> 1412.2 (1466.6) MB, 2252.7 / 0.0 ms  last resort GC in old space requested\r\n\r\n\r\n<--- JS stacktrace --->\r\n\r\n==== JS stack trace =========================================\r\n\r\nSecurity context: 0x2ed934225ee1 <JSObject>\r\n    3: completeUnitOfWork(aka completeUnitOfWork) [/home/circleci/project/packages/react-reconciler/src/ReactFiberScheduler.js:552] [bytecode=0x1e5a3fb9bb11 offset=1017](this=0xa6f6c182311 <undefined>,workInProgress=0x19c3ddb03201 <FiberNode map = 0x327cfdde93a9>)\r\n    5: performUnitOfWork(aka performUnitOfWork) [/home/circleci/project/packages/react-reconciler/src/ReactFiberScheduler.js:646] [by...\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: 0x121a2cc [node]\r\n 3: v8::Utils::ReportOOMFailure(char const*, bool) [node]\r\n 4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [node]\r\n 5: v8::internal::Factory::NewFixedArray(int, v8::internal::PretenureFlag) [node]\r\n 6: v8::internal::FeedbackVector::New(v8::internal::Isolate*, v8::internal::Handle<v8::internal::SharedFunctionInfo>) [node]\r\n 7: v8::internal::JSFunction::EnsureLiterals(v8::internal::Handle<v8::internal::JSFunction>) [node]\r\n 8: v8::internal::Compiler::Compile(v8::internal::Handle<v8::internal::JSFunction>, v8::internal::Compiler::ClearExceptionFlag) [node]\r\n 9: v8::internal::Runtime_CompileLazy(int, v8::internal::Object**, v8::internal::Isolate*) [node]\r\n10: 0x2c01a818463d\r\nDone in 745.02s.\r\ncat: ./coverage/lcov.info: No such file or directory\r\n[error] \"2018-01-05T18:50:27.351Z\"  'error from lcovParse: ' 'Failed to parse string'\r\n[error] \"2018-01-05T18:50:27.353Z\"  'input: ' ''\r\n[error] \"2018-01-05T18:50:27.353Z\"  'error from convertLcovToCoveralls'\r\n```\r\n\r\nNot sure if this is a Jest issue but figured it's worth asking.\r\n  "},"comment":{"url":"https://api.github.com/repos/facebook/jest/issues/comments/371971647","html_url":"https://github.com/facebook/jest/issues/5239#issuecomment-371971647","issue_url":"https://api.github.com/repos/facebook/jest/issues/5239","id":371971647,"user":{"login":"Schlesiger","id":1195271,"avatar_url":"https://avatars3.githubusercontent.com/u/1195271?v=4","gravatar_id":"","url":"https://api.github.com/users/Schlesiger","html_url":"https://github.com/Schlesiger","followers_url":"https://api.github.com/users/Schlesiger/followers","following_url":"https://api.github.com/users/Schlesiger/following{/other_user}","gists_url":"https://api.github.com/users/Schlesiger/gists{/gist_id}","starred_url":"https://api.github.com/users/Schlesiger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Schlesiger/subscriptions","organizations_url":"https://api.github.com/users/Schlesiger/orgs","repos_url":"https://api.github.com/users/Schlesiger/repos","events_url":"https://api.github.com/users/Schlesiger/events{/privacy}","received_events_url":"https://api.github.com/users/Schlesiger/received_events","type":"User","site_admin":false},"created_at":"2018-03-09T23:10:50Z","updated_at":"2018-03-09T23:10:50Z","author_association":"NONE","body":"I am also still seeing memory leak issues on GitLab pipelines with `jest@^22.4.2`"}}
{"actor":{"display_login":"Schlesiger"}}