{"action":"closed","issue":{"url":"https://api.github.com/repos/citp/BlockSci/issues/39","repository_url":"https://api.github.com/repos/citp/BlockSci","labels_url":"https://api.github.com/repos/citp/BlockSci/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/citp/BlockSci/issues/39/comments","events_url":"https://api.github.com/repos/citp/BlockSci/issues/39/events","html_url":"https://github.com/citp/BlockSci/issues/39","id":285546269,"number":39,"title":"std::bad_alloc error when running blocksci_parser","user":{"login":"shihao-guo","id":12752320,"avatar_url":"https://avatars3.githubusercontent.com/u/12752320?v=4","gravatar_id":"","url":"https://api.github.com/users/shihao-guo","html_url":"https://github.com/shihao-guo","followers_url":"https://api.github.com/users/shihao-guo/followers","following_url":"https://api.github.com/users/shihao-guo/following{/other_user}","gists_url":"https://api.github.com/users/shihao-guo/gists{/gist_id}","starred_url":"https://api.github.com/users/shihao-guo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shihao-guo/subscriptions","organizations_url":"https://api.github.com/users/shihao-guo/orgs","repos_url":"https://api.github.com/users/shihao-guo/repos","events_url":"https://api.github.com/users/shihao-guo/events{/privacy}","received_events_url":"https://api.github.com/users/shihao-guo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-01-02T21:48:52Z","updated_at":"2018-03-09T21:04:50Z","closed_at":"2018-03-09T21:04:50Z","author_association":"NONE","body":"When I run blocksci_parser to update it throws error msg without much context, I'm wondering if there's any way to solve it? \r\n\r\nI kept running the command to make sure that blockSci is up to date, and the first few times everything is fine, it's only after running it several times that the error starts to occur. The machine has 60GB RAM and is no where near full capacity when I run the erring command.\r\n\r\n```\r\n# blocksci_parser --output-directory /home/ubuntu/bitcoin update --max-block 502264 disk --coin-directory /home/ubuntu/.bitcoin\r\nterminate called after throwing an instance of 'std::bad_alloc'\r\n  what():  std::bad_alloc\r\nAborted (core dumped)\r\n```\r\n\r\nAnd it looks like it's `bitcoin/parser/blockList.dat` causing the problem. Once I remove this file blocksci_parser will work again "}}
{"actor":{"display_login":"hkalodner"}}