{"action":"created","issue":{"url":"https://api.github.com/repos/wojtekmaj/react-pdf/issues/61","repository_url":"https://api.github.com/repos/wojtekmaj/react-pdf","labels_url":"https://api.github.com/repos/wojtekmaj/react-pdf/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/wojtekmaj/react-pdf/issues/61/comments","events_url":"https://api.github.com/repos/wojtekmaj/react-pdf/issues/61/events","html_url":"https://github.com/wojtekmaj/react-pdf/issues/61","id":258474584,"number":61,"title":"JavaScript heap out of memory","user":{"login":"hanselsen","id":1150323,"avatar_url":"https://avatars0.githubusercontent.com/u/1150323?v=4","gravatar_id":"","url":"https://api.github.com/users/hanselsen","html_url":"https://github.com/hanselsen","followers_url":"https://api.github.com/users/hanselsen/followers","following_url":"https://api.github.com/users/hanselsen/following{/other_user}","gists_url":"https://api.github.com/users/hanselsen/gists{/gist_id}","starred_url":"https://api.github.com/users/hanselsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hanselsen/subscriptions","organizations_url":"https://api.github.com/users/hanselsen/orgs","repos_url":"https://api.github.com/users/hanselsen/repos","events_url":"https://api.github.com/users/hanselsen/events{/privacy}","received_events_url":"https://api.github.com/users/hanselsen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-18T13:13:40Z","updated_at":"2017-09-19T22:25:48Z","closed_at":null,"author_association":"NONE","body":"I'm experiencing memory errors on node build.  \r\nThis is only the case when react-pdf is included and used in the project.  \r\n\r\nThe command:\r\n\r\n> node react-scripts build\r\n\r\nThe error:\r\n\r\n> FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory\r\n\r\nI even added the memory argument  \r\n\r\n> node --max-old-space-size=8192 react-scripts build\r\n\r\nIn the package.json\r\n\r\n> \"react-pdf\": \"^2.1.1\",\r\n\r\nPlease advice"},"comment":{"url":"https://api.github.com/repos/wojtekmaj/react-pdf/issues/comments/330691427","html_url":"https://github.com/wojtekmaj/react-pdf/issues/61#issuecomment-330691427","issue_url":"https://api.github.com/repos/wojtekmaj/react-pdf/issues/61","id":330691427,"user":{"login":"wojtekmaj","id":5426427,"avatar_url":"https://avatars2.githubusercontent.com/u/5426427?v=4","gravatar_id":"","url":"https://api.github.com/users/wojtekmaj","html_url":"https://github.com/wojtekmaj","followers_url":"https://api.github.com/users/wojtekmaj/followers","following_url":"https://api.github.com/users/wojtekmaj/following{/other_user}","gists_url":"https://api.github.com/users/wojtekmaj/gists{/gist_id}","starred_url":"https://api.github.com/users/wojtekmaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wojtekmaj/subscriptions","organizations_url":"https://api.github.com/users/wojtekmaj/orgs","repos_url":"https://api.github.com/users/wojtekmaj/repos","events_url":"https://api.github.com/users/wojtekmaj/events{/privacy}","received_events_url":"https://api.github.com/users/wojtekmaj/received_events","type":"User","site_admin":false},"created_at":"2017-09-19T22:25:48Z","updated_at":"2017-09-19T22:25:48Z","author_association":"OWNER","body":"Hey @hanselsen,\r\nSadly I have no knowledge about react-scripts and this looks like issue on their side. I personally use Webpack to build the project and although it takes quite a bit of time (sometimes over 2 minutes), it always finishes. Not sure what react-scripts has under the hood. Could you drop them a note, too?\r\nThanks,\r\nWojciech"}}
{"actor":{"display_login":"wojtekmaj"}}