{"action":"created","issue":{"url":"https://api.github.com/repos/tgstation/-tg-station/issues/9586","labels_url":"https://api.github.com/repos/tgstation/-tg-station/issues/9586/labels{/name}","comments_url":"https://api.github.com/repos/tgstation/-tg-station/issues/9586/comments","events_url":"https://api.github.com/repos/tgstation/-tg-station/issues/9586/events","html_url":"https://github.com/tgstation/-tg-station/pull/9586","id":78910099,"number":9586,"title":"Workaround for Out of resources byond bug","user":{"login":"MrStonedOne","id":7069733,"avatar_url":"https://avatars.githubusercontent.com/u/7069733?v=3","gravatar_id":"","url":"https://api.github.com/users/MrStonedOne","html_url":"https://github.com/MrStonedOne","followers_url":"https://api.github.com/users/MrStonedOne/followers","following_url":"https://api.github.com/users/MrStonedOne/following{/other_user}","gists_url":"https://api.github.com/users/MrStonedOne/gists{/gist_id}","starred_url":"https://api.github.com/users/MrStonedOne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrStonedOne/subscriptions","organizations_url":"https://api.github.com/users/MrStonedOne/orgs","repos_url":"https://api.github.com/users/MrStonedOne/repos","events_url":"https://api.github.com/users/MrStonedOne/events{/privacy}","received_events_url":"https://api.github.com/users/MrStonedOne/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tgstation/-tg-station/labels/Fix","name":"Fix","color":"00bbdd"},{"url":"https://api.github.com/repos/tgstation/-tg-station/labels/Performance","name":"Performance","color":"0b02e1"},{"url":"https://api.github.com/repos/tgstation/-tg-station/labels/Runtime","name":"Runtime","color":"FFD000"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-05-21T09:28:30Z","updated_at":"2015-05-21T16:14:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/tgstation/-tg-station/pulls/9586","html_url":"https://github.com/tgstation/-tg-station/pull/9586","diff_url":"https://github.com/tgstation/-tg-station/pull/9586.diff","patch_url":"https://github.com/tgstation/-tg-station/pull/9586.patch"},"body":"Fixes #9503 - Out of resources runtime (dubbed \"the mc crashing\" for whatever fucking reason.)\r\nFixes #7410 (same as above)\r\nSimply put, running locate in locs causes the copy of the list byond creates in locate to never get deallocated.\r\n\r\nIf you later run a \"thing in things\" style for loop after hitting some limit (2^24) on the total number of lists, an out of resources runtime will spew, everything will break, and attempts to access lists will randomly fail and cause that list to get corrupted.\r\n\r\nTest Case: http://pastebin.com/1kiXQb6s\r\n\r\nI haven't actually tested this, i'm going to bed. test before merging if you decide to quick merge this."},"comment":{"url":"https://api.github.com/repos/tgstation/-tg-station/issues/comments/104338118","html_url":"https://github.com/tgstation/-tg-station/pull/9586#issuecomment-104338118","issue_url":"https://api.github.com/repos/tgstation/-tg-station/issues/9586","id":104338118,"user":{"login":"GunHog","id":4955510,"avatar_url":"https://avatars.githubusercontent.com/u/4955510?v=3","gravatar_id":"","url":"https://api.github.com/users/GunHog","html_url":"https://github.com/GunHog","followers_url":"https://api.github.com/users/GunHog/followers","following_url":"https://api.github.com/users/GunHog/following{/other_user}","gists_url":"https://api.github.com/users/GunHog/gists{/gist_id}","starred_url":"https://api.github.com/users/GunHog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GunHog/subscriptions","organizations_url":"https://api.github.com/users/GunHog/orgs","repos_url":"https://api.github.com/users/GunHog/repos","events_url":"https://api.github.com/users/GunHog/events{/privacy}","received_events_url":"https://api.github.com/users/GunHog/received_events","type":"User","site_admin":false},"created_at":"2015-05-21T16:14:00Z","updated_at":"2015-05-21T16:14:00Z","body":"Maybe Sticky can finally run his 8 hour rounds without them crashing!"}}