{"action":"closed","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/18236","repository_url":"https://api.github.com/repos/rust-lang/rust","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/18236/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/18236/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/18236/events","html_url":"https://github.com/rust-lang/rust/issues/18236","id":46544188,"number":18236,"title":"allow disabling dirty page purging via an API, and consider disabling it by default","user":{"login":"thestinger","id":1505226,"avatar_url":"https://avatars2.githubusercontent.com/u/1505226?v=3","gravatar_id":"","url":"https://api.github.com/users/thestinger","html_url":"https://github.com/thestinger","followers_url":"https://api.github.com/users/thestinger/followers","following_url":"https://api.github.com/users/thestinger/following{/other_user}","gists_url":"https://api.github.com/users/thestinger/gists{/gist_id}","starred_url":"https://api.github.com/users/thestinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thestinger/subscriptions","organizations_url":"https://api.github.com/users/thestinger/orgs","repos_url":"https://api.github.com/users/thestinger/repos","events_url":"https://api.github.com/users/thestinger/events{/privacy}","received_events_url":"https://api.github.com/users/thestinger/received_events","type":"User","site_admin":false},"labels":[{"id":129836139,"url":"https://api.github.com/repos/rust-lang/rust/labels/A-allocators","name":"A-allocators","color":"d7e102","default":false},{"id":234876,"url":"https://api.github.com/repos/rust-lang/rust/labels/E-hard","name":"E-hard","color":"02e10c","default":false},{"id":113376,"url":"https://api.github.com/repos/rust-lang/rust/labels/I-slow","name":"I-slow","color":"e10c02","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2014-10-22T18:34:52Z","updated_at":"2017-06-22T17:31:49Z","closed_at":"2017-06-22T17:31:49Z","body":"Ratio-based dirty page purging reduces memory usage, but results in a significant performance hit. It is already possible to disable it by exporting an environment variable, but it should be possible to toggle it or alter the ratio at runtime. It may make sense to have it disabled by default because it's not desirable in short-lived applications or those with consistent memory allocation patterns.\n\nIt's primarily desirable in large, long-lived applications with varying memory usage patterns where opting into a feature is not a big deal. The defaults should likely be optimized for programming in the small.\n"}}
{"actor":{"display_login":"Mark-Simulacrum"}}