{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/12427","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/12427/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/12427/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/12427/events","html_url":"https://github.com/JuliaLang/julia/issues/12427","id":98623911,"number":12427,"title":"Deprecation warnings consume crazy amounts of time and memory","user":{"login":"tkelman","id":5934628,"avatar_url":"https://avatars.githubusercontent.com/u/5934628?v=3","gravatar_id":"","url":"https://api.github.com/users/tkelman","html_url":"https://github.com/tkelman","followers_url":"https://api.github.com/users/tkelman/followers","following_url":"https://api.github.com/users/tkelman/following{/other_user}","gists_url":"https://api.github.com/users/tkelman/gists{/gist_id}","starred_url":"https://api.github.com/users/tkelman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkelman/subscriptions","organizations_url":"https://api.github.com/users/tkelman/orgs","repos_url":"https://api.github.com/users/tkelman/repos","events_url":"https://api.github.com/users/tkelman/events{/privacy}","received_events_url":"https://api.github.com/users/tkelman/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/JuliaLang/julia/labels/performance","name":"performance","color":"d7e102"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-02T17:35:35Z","updated_at":"2015-08-08T01:52:49Z","closed_at":"2015-08-08T01:52:49Z","body":"Would be nice to mitigate this somehow. Example case - run `make -C test/perf sort`<sup>[1]</sup>, which compares a variety of algorithms including some from the SortingAlgorithms.jl package. That package has a few `int()` deprecation warnings when doing RadixSort (fixed in https://github.com/JuliaLang/SortingAlgorithms.jl/pull/13, so be sure to use tag v0.0.5 to reproduce this), and the perf tests run them enough times that my machine ends up swapping and hanging.\r\n\r\nMy understanding is that deprecation warnings collect a backtrace to avoid being thrown repeatedly, but is there some missing GC here that is causing them to be held onto indefinitely?\r\n\r\n----\r\n\r\n[1] which has apparently been broken since the new GC was merged, ref https://github.com/JuliaLang/julia/commit/7c8acce9fb73c3edb71bdd509b8f265c95ae7484#commitcomment-12482788, but I just fixed it so that's beside the point"},"comment":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/comments/128880792","html_url":"https://github.com/JuliaLang/julia/issues/12427#issuecomment-128880792","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/12427","id":128880792,"user":{"login":"tkelman","id":5934628,"avatar_url":"https://avatars.githubusercontent.com/u/5934628?v=3","gravatar_id":"","url":"https://api.github.com/users/tkelman","html_url":"https://github.com/tkelman","followers_url":"https://api.github.com/users/tkelman/followers","following_url":"https://api.github.com/users/tkelman/following{/other_user}","gists_url":"https://api.github.com/users/tkelman/gists{/gist_id}","starred_url":"https://api.github.com/users/tkelman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkelman/subscriptions","organizations_url":"https://api.github.com/users/tkelman/orgs","repos_url":"https://api.github.com/users/tkelman/repos","events_url":"https://api.github.com/users/tkelman/events{/privacy}","received_events_url":"https://api.github.com/users/tkelman/received_events","type":"User","site_admin":false},"created_at":"2015-08-08T01:52:49Z","updated_at":"2015-08-08T01:52:49Z","body":"I think we already have at least one other \"backtraces are slow\" issue, so with #12433 I think we may as well close this?"}}