{"action":"opened","issue":{"url":"https://api.github.com/repos/drolbr/Overpass-API/issues/322","repository_url":"https://api.github.com/repos/drolbr/Overpass-API","labels_url":"https://api.github.com/repos/drolbr/Overpass-API/issues/322/labels{/name}","comments_url":"https://api.github.com/repos/drolbr/Overpass-API/issues/322/comments","events_url":"https://api.github.com/repos/drolbr/Overpass-API/issues/322/events","html_url":"https://github.com/drolbr/Overpass-API/issues/322","id":181135265,"number":322,"title":"Optimize runtime and memory footprint of augmented diff queries","user":{"login":"tyrasd","id":1927298,"avatar_url":"https://avatars.githubusercontent.com/u/1927298?v=3","gravatar_id":"","url":"https://api.github.com/users/tyrasd","html_url":"https://github.com/tyrasd","followers_url":"https://api.github.com/users/tyrasd/followers","following_url":"https://api.github.com/users/tyrasd/following{/other_user}","gists_url":"https://api.github.com/users/tyrasd/gists{/gist_id}","starred_url":"https://api.github.com/users/tyrasd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tyrasd/subscriptions","organizations_url":"https://api.github.com/users/tyrasd/orgs","repos_url":"https://api.github.com/users/tyrasd/repos","events_url":"https://api.github.com/users/tyrasd/events{/privacy}","received_events_url":"https://api.github.com/users/tyrasd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-05T12:08:10Z","updated_at":"2016-10-05T12:08:10Z","closed_at":null,"body":"Here's a relatively simple query, producing an augmented diff that has a hard time running on the main Overpass' instance:\r\n\r\nhttp://overpass-turbo.eu/s/iYU\r\n```\r\n{{dateFrom=2016-10-03T00:00:00Z}}\r\n{{dateTo=2016-10-03T23:59:59Z}}\r\n\r\n[timeout:300]\r\n[maxsize:1573741824]\r\n//[bbox:{{bbox}}]\r\n[adiff:\"{{dateFrom}}\",\"{{dateTo}}\"];\r\n(\r\n  node(changed:\"{{dateFrom}}\",\"{{dateTo}}\");\r\n  way (changed:\"{{dateFrom}}\",\"{{dateTo}}\");\r\n  rel (changed:\"{{dateFrom}}\",\"{{dateTo}}\"); \r\n);\r\nout tags;\r\n``` \r\n\r\nThis works fine if restricted on a small bounding box (uncomment line 6 of the query above), but results in timeouts or out-of-memory exceptions when run on the full planet.\r\n\r\n@drolbr mentioned that there are some post-0.7.53 improvements in the pipeline. So, maybe it makes sense to keep track of them in this ticket."}}
{"actor":{"display_login":"tyrasd"}}