{"action":"opened","number":140,"pull_request":{"url":"https://api.github.com/repos/valhalla/mjolnir/pulls/140","id":30315616,"html_url":"https://github.com/valhalla/mjolnir/pull/140","diff_url":"https://github.com/valhalla/mjolnir/pull/140.diff","patch_url":"https://github.com/valhalla/mjolnir/pull/140.patch","issue_url":"https://api.github.com/repos/valhalla/mjolnir/issues/140","number":140,"state":"open","locked":false,"title":"reduce memory use","user":{"login":"kevinkreiser","id":697548,"avatar_url":"https://avatars.githubusercontent.com/u/697548?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinkreiser","html_url":"https://github.com/kevinkreiser","followers_url":"https://api.github.com/users/kevinkreiser/followers","following_url":"https://api.github.com/users/kevinkreiser/following{/other_user}","gists_url":"https://api.github.com/users/kevinkreiser/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinkreiser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinkreiser/subscriptions","organizations_url":"https://api.github.com/users/kevinkreiser/orgs","repos_url":"https://api.github.com/users/kevinkreiser/repos","events_url":"https://api.github.com/users/kevinkreiser/events{/privacy}","received_events_url":"https://api.github.com/users/kevinkreiser/received_events","type":"User","site_admin":false},"body":"this sends `OSMNode`s to file, `OSMWay`s (which contains the shape) to file and `Edge`s to file. for PA the time went up from 1min 8 sec to 2 min 1 sec. The files it created for PA seemed to take up about 4x the original pbf file's size, which shouldnt matter for even the planet given that its 27 gigs (so we'd need like 150gb of disk space to do it). The only thing of any real weight in memory at this point are the strings constituting the names of various stuff and the `Node`s in the graph (since they arent fixed size we can't move them to file very easily).\r\n\r\nthis build is failing because it exploits the fact that osm extracts are sorted for each set of items (ways nodes relations) by the given items id. the extracts we use for the parsing tests aren't sorted and the code checks this and throws an exception. however they were greated with xml extracts which @gknisely is sending me. i'll sort those and turn them into pbf again and we should be good to go!","created_at":"2015-03-02T20:07:14Z","updated_at":"2015-03-02T20:07:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/valhalla/mjolnir/pulls/140/commits","review_comments_url":"https://api.github.com/repos/valhalla/mjolnir/pulls/140/comments","review_comment_url":"https://api.github.com/repos/valhalla/mjolnir/pulls/comments{/number}","comments_url":"https://api.github.com/repos/valhalla/mjolnir/issues/140/comments","statuses_url":"https://api.github.com/repos/valhalla/mjolnir/statuses/22177ff5618ab533cf98c52dd428fe3c01733173","head":{"label":"valhalla:kk_lowmem","ref":"kk_lowmem","sha":"22177ff5618ab533cf98c52dd428fe3c01733173","user":{"login":"valhalla","id":10232331,"avatar_url":"https://avatars.githubusercontent.com/u/10232331?v=3","gravatar_id":"","url":"https://api.github.com/users/valhalla","html_url":"https://github.com/valhalla","followers_url":"https://api.github.com/users/valhalla/followers","following_url":"https://api.github.com/users/valhalla/following{/other_user}","gists_url":"https://api.github.com/users/valhalla/gists{/gist_id}","starred_url":"https://api.github.com/users/valhalla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valhalla/subscriptions","organizations_url":"https://api.github.com/users/valhalla/orgs","repos_url":"https://api.github.com/users/valhalla/repos","events_url":"https://api.github.com/users/valhalla/events{/privacy}","received_events_url":"https://api.github.com/users/valhalla/received_events","type":"Organization","site_admin":false},"repo":{"id":28186451,"name":"mjolnir","full_name":"valhalla/mjolnir","owner":{"login":"valhalla","id":10232331,"avatar_url":"https://avatars.githubusercontent.com/u/10232331?v=3","gravatar_id":"","url":"https://api.github.com/users/valhalla","html_url":"https://github.com/valhalla","followers_url":"https://api.github.com/users/valhalla/followers","following_url":"https://api.github.com/users/valhalla/following{/other_user}","gists_url":"https://api.github.com/users/valhalla/gists{/gist_id}","starred_url":"https://api.github.com/users/valhalla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valhalla/subscriptions","organizations_url":"https://api.github.com/users/valhalla/orgs","repos_url":"https://api.github.com/users/valhalla/repos","events_url":"https://api.github.com/users/valhalla/events{/privacy}","received_events_url":"https://api.github.com/users/valhalla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/valhalla/mjolnir","description":"Applications suited to creating tiled routing data","fork":false,"url":"https://api.github.com/repos/valhalla/mjolnir","forks_url":"https://api.github.com/repos/valhalla/mjolnir/forks","keys_url":"https://api.github.com/repos/valhalla/mjolnir/keys{/key_id}","collaborators_url":"https://api.github.com/repos/valhalla/mjolnir/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/valhalla/mjolnir/teams","hooks_url":"https://api.github.com/repos/valhalla/mjolnir/hooks","issue_events_url":"https://api.github.com/repos/valhalla/mjolnir/issues/events{/number}","events_url":"https://api.github.com/repos/valhalla/mjolnir/events","assignees_url":"https://api.github.com/repos/valhalla/mjolnir/assignees{/user}","branches_url":"https://api.github.com/repos/valhalla/mjolnir/branches{/branch}","tags_url":"https://api.github.com/repos/valhalla/mjolnir/tags","blobs_url":"https://api.github.com/repos/valhalla/mjolnir/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/valhalla/mjolnir/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/valhalla/mjolnir/git/refs{/sha}","trees_url":"https://api.github.com/repos/valhalla/mjolnir/git/trees{/sha}","statuses_url":"https://api.github.com/repos/valhalla/mjolnir/statuses/{sha}","languages_url":"https://api.github.com/repos/valhalla/mjolnir/languages","stargazers_url":"https://api.github.com/repos/valhalla/mjolnir/stargazers","contributors_url":"https://api.github.com/repos/valhalla/mjolnir/contributors","subscribers_url":"https://api.github.com/repos/valhalla/mjolnir/subscribers","subscription_url":"https://api.github.com/repos/valhalla/mjolnir/subscription","commits_url":"https://api.github.com/repos/valhalla/mjolnir/commits{/sha}","git_commits_url":"https://api.github.com/repos/valhalla/mjolnir/git/commits{/sha}","comments_url":"https://api.github.com/repos/valhalla/mjolnir/comments{/number}","issue_comment_url":"https://api.github.com/repos/valhalla/mjolnir/issues/comments{/number}","contents_url":"https://api.github.com/repos/valhalla/mjolnir/contents/{+path}","compare_url":"https://api.github.com/repos/valhalla/mjolnir/compare/{base}...{head}","merges_url":"https://api.github.com/repos/valhalla/mjolnir/merges","archive_url":"https://api.github.com/repos/valhalla/mjolnir/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/valhalla/mjolnir/downloads","issues_url":"https://api.github.com/repos/valhalla/mjolnir/issues{/number}","pulls_url":"https://api.github.com/repos/valhalla/mjolnir/pulls{/number}","milestones_url":"https://api.github.com/repos/valhalla/mjolnir/milestones{/number}","notifications_url":"https://api.github.com/repos/valhalla/mjolnir/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/valhalla/mjolnir/labels{/name}","releases_url":"https://api.github.com/repos/valhalla/mjolnir/releases{/id}","created_at":"2014-12-18T14:22:06Z","updated_at":"2015-02-27T21:28:58Z","pushed_at":"2015-03-02T20:01:57Z","git_url":"git://github.com/valhalla/mjolnir.git","ssh_url":"git@github.com:valhalla/mjolnir.git","clone_url":"https://github.com/valhalla/mjolnir.git","svn_url":"https://github.com/valhalla/mjolnir","homepage":null,"size":4608,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"valhalla:master","ref":"master","sha":"d9167407e3c7f36177e378c0a097427d44f47d5c","user":{"login":"valhalla","id":10232331,"avatar_url":"https://avatars.githubusercontent.com/u/10232331?v=3","gravatar_id":"","url":"https://api.github.com/users/valhalla","html_url":"https://github.com/valhalla","followers_url":"https://api.github.com/users/valhalla/followers","following_url":"https://api.github.com/users/valhalla/following{/other_user}","gists_url":"https://api.github.com/users/valhalla/gists{/gist_id}","starred_url":"https://api.github.com/users/valhalla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valhalla/subscriptions","organizations_url":"https://api.github.com/users/valhalla/orgs","repos_url":"https://api.github.com/users/valhalla/repos","events_url":"https://api.github.com/users/valhalla/events{/privacy}","received_events_url":"https://api.github.com/users/valhalla/received_events","type":"Organization","site_admin":false},"repo":{"id":28186451,"name":"mjolnir","full_name":"valhalla/mjolnir","owner":{"login":"valhalla","id":10232331,"avatar_url":"https://avatars.githubusercontent.com/u/10232331?v=3","gravatar_id":"","url":"https://api.github.com/users/valhalla","html_url":"https://github.com/valhalla","followers_url":"https://api.github.com/users/valhalla/followers","following_url":"https://api.github.com/users/valhalla/following{/other_user}","gists_url":"https://api.github.com/users/valhalla/gists{/gist_id}","starred_url":"https://api.github.com/users/valhalla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valhalla/subscriptions","organizations_url":"https://api.github.com/users/valhalla/orgs","repos_url":"https://api.github.com/users/valhalla/repos","events_url":"https://api.github.com/users/valhalla/events{/privacy}","received_events_url":"https://api.github.com/users/valhalla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/valhalla/mjolnir","description":"Applications suited to creating tiled routing data","fork":false,"url":"https://api.github.com/repos/valhalla/mjolnir","forks_url":"https://api.github.com/repos/valhalla/mjolnir/forks","keys_url":"https://api.github.com/repos/valhalla/mjolnir/keys{/key_id}","collaborators_url":"https://api.github.com/repos/valhalla/mjolnir/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/valhalla/mjolnir/teams","hooks_url":"https://api.github.com/repos/valhalla/mjolnir/hooks","issue_events_url":"https://api.github.com/repos/valhalla/mjolnir/issues/events{/number}","events_url":"https://api.github.com/repos/valhalla/mjolnir/events","assignees_url":"https://api.github.com/repos/valhalla/mjolnir/assignees{/user}","branches_url":"https://api.github.com/repos/valhalla/mjolnir/branches{/branch}","tags_url":"https://api.github.com/repos/valhalla/mjolnir/tags","blobs_url":"https://api.github.com/repos/valhalla/mjolnir/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/valhalla/mjolnir/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/valhalla/mjolnir/git/refs{/sha}","trees_url":"https://api.github.com/repos/valhalla/mjolnir/git/trees{/sha}","statuses_url":"https://api.github.com/repos/valhalla/mjolnir/statuses/{sha}","languages_url":"https://api.github.com/repos/valhalla/mjolnir/languages","stargazers_url":"https://api.github.com/repos/valhalla/mjolnir/stargazers","contributors_url":"https://api.github.com/repos/valhalla/mjolnir/contributors","subscribers_url":"https://api.github.com/repos/valhalla/mjolnir/subscribers","subscription_url":"https://api.github.com/repos/valhalla/mjolnir/subscription","commits_url":"https://api.github.com/repos/valhalla/mjolnir/commits{/sha}","git_commits_url":"https://api.github.com/repos/valhalla/mjolnir/git/commits{/sha}","comments_url":"https://api.github.com/repos/valhalla/mjolnir/comments{/number}","issue_comment_url":"https://api.github.com/repos/valhalla/mjolnir/issues/comments{/number}","contents_url":"https://api.github.com/repos/valhalla/mjolnir/contents/{+path}","compare_url":"https://api.github.com/repos/valhalla/mjolnir/compare/{base}...{head}","merges_url":"https://api.github.com/repos/valhalla/mjolnir/merges","archive_url":"https://api.github.com/repos/valhalla/mjolnir/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/valhalla/mjolnir/downloads","issues_url":"https://api.github.com/repos/valhalla/mjolnir/issues{/number}","pulls_url":"https://api.github.com/repos/valhalla/mjolnir/pulls{/number}","milestones_url":"https://api.github.com/repos/valhalla/mjolnir/milestones{/number}","notifications_url":"https://api.github.com/repos/valhalla/mjolnir/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/valhalla/mjolnir/labels{/name}","releases_url":"https://api.github.com/repos/valhalla/mjolnir/releases{/id}","created_at":"2014-12-18T14:22:06Z","updated_at":"2015-02-27T21:28:58Z","pushed_at":"2015-03-02T20:01:57Z","git_url":"git://github.com/valhalla/mjolnir.git","ssh_url":"git@github.com:valhalla/mjolnir.git","clone_url":"https://github.com/valhalla/mjolnir.git","svn_url":"https://github.com/valhalla/mjolnir","homepage":null,"size":4608,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/valhalla/mjolnir/pulls/140"},"html":{"href":"https://github.com/valhalla/mjolnir/pull/140"},"issue":{"href":"https://api.github.com/repos/valhalla/mjolnir/issues/140"},"comments":{"href":"https://api.github.com/repos/valhalla/mjolnir/issues/140/comments"},"review_comments":{"href":"https://api.github.com/repos/valhalla/mjolnir/pulls/140/comments"},"review_comment":{"href":"https://api.github.com/repos/valhalla/mjolnir/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/valhalla/mjolnir/pulls/140/commits"},"statuses":{"href":"https://api.github.com/repos/valhalla/mjolnir/statuses/22177ff5618ab533cf98c52dd428fe3c01733173"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":8,"additions":1065,"deletions":837,"changed_files":21}}