{"action":"created","issue":{"url":"https://api.github.com/repos/itinero/routing/issues/167","repository_url":"https://api.github.com/repos/itinero/routing","labels_url":"https://api.github.com/repos/itinero/routing/issues/167/labels{/name}","comments_url":"https://api.github.com/repos/itinero/routing/issues/167/comments","events_url":"https://api.github.com/repos/itinero/routing/issues/167/events","html_url":"https://github.com/itinero/routing/issues/167","id":302573899,"number":167,"title":"RouterDb Contraction question.","user":{"login":"pingurus","id":36167579,"avatar_url":"https://avatars0.githubusercontent.com/u/36167579?v=4","gravatar_id":"","url":"https://api.github.com/users/pingurus","html_url":"https://github.com/pingurus","followers_url":"https://api.github.com/users/pingurus/followers","following_url":"https://api.github.com/users/pingurus/following{/other_user}","gists_url":"https://api.github.com/users/pingurus/gists{/gist_id}","starred_url":"https://api.github.com/users/pingurus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pingurus/subscriptions","organizations_url":"https://api.github.com/users/pingurus/orgs","repos_url":"https://api.github.com/users/pingurus/repos","events_url":"https://api.github.com/users/pingurus/events{/privacy}","received_events_url":"https://api.github.com/users/pingurus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-06T05:58:54Z","updated_at":"2018-03-06T12:21:45Z","closed_at":null,"author_association":"NONE","body":"Hi, \r\nI'm trying to add contracted routing Data to a RouterDb this way:\r\n`var routerDb = new RouterDb();`\r\n`using (var stream = new FileInfo(@\"/path/to/some/osmfile.osm.pbf\").OpenRead())`\r\n`{`\r\n   ` // create the network for cars only.`\r\n    `routerDb.LoadOsmData(stream, Vehicle.Car); `\r\n`}`\r\n`routerDb.AddContracted(routerDb.GetSupportedProfile(\"car\"));`\r\n\r\nThis however is causing a SystemOutOfMemory Exception when the used RAM hits 2GB. The .osm.pbf file is only 400MB. Am I doing something wrong, or should I use smaller osm.pbf files?"},"comment":{"url":"https://api.github.com/repos/itinero/routing/issues/comments/370764273","html_url":"https://github.com/itinero/routing/issues/167#issuecomment-370764273","issue_url":"https://api.github.com/repos/itinero/routing/issues/167","id":370764273,"user":{"login":"pingurus","id":36167579,"avatar_url":"https://avatars0.githubusercontent.com/u/36167579?v=4","gravatar_id":"","url":"https://api.github.com/users/pingurus","html_url":"https://github.com/pingurus","followers_url":"https://api.github.com/users/pingurus/followers","following_url":"https://api.github.com/users/pingurus/following{/other_user}","gists_url":"https://api.github.com/users/pingurus/gists{/gist_id}","starred_url":"https://api.github.com/users/pingurus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pingurus/subscriptions","organizations_url":"https://api.github.com/users/pingurus/orgs","repos_url":"https://api.github.com/users/pingurus/repos","events_url":"https://api.github.com/users/pingurus/events{/privacy}","received_events_url":"https://api.github.com/users/pingurus/received_events","type":"User","site_admin":false},"created_at":"2018-03-06T12:21:45Z","updated_at":"2018-03-06T12:21:45Z","author_association":"NONE","body":"I aborted it after 2h."}}
{"actor":{"display_login":"pingurus"}}