{"action":"opened","issue":{"url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/20827","repository_url":"https://api.github.com/repos/lionheart/openradar-mirror","labels_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/20827/labels{/name}","comments_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/20827/comments","events_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/20827/events","html_url":"https://github.com/lionheart/openradar-mirror/issues/20827","id":390446872,"node_id":"MDU6SXNzdWUzOTA0NDY4NzI=","number":20827,"title":"46675860: Regression Bug: Xcode 10.x has a memory leak with console messages","user":{"login":"openradar-mirror","id":13605213,"node_id":"MDQ6VXNlcjEzNjA1MjEz","avatar_url":"https://avatars1.githubusercontent.com/u/13605213?v=4","gravatar_id":"","url":"https://api.github.com/users/openradar-mirror","html_url":"https://github.com/openradar-mirror","followers_url":"https://api.github.com/users/openradar-mirror/followers","following_url":"https://api.github.com/users/openradar-mirror/following{/other_user}","gists_url":"https://api.github.com/users/openradar-mirror/gists{/gist_id}","starred_url":"https://api.github.com/users/openradar-mirror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openradar-mirror/subscriptions","organizations_url":"https://api.github.com/users/openradar-mirror/orgs","repos_url":"https://api.github.com/users/openradar-mirror/repos","events_url":"https://api.github.com/users/openradar-mirror/events{/privacy}","received_events_url":"https://api.github.com/users/openradar-mirror/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/lionheart/openradar-mirror/milestones/16","html_url":"https://github.com/lionheart/openradar-mirror/milestone/16","labels_url":"https://api.github.com/repos/lionheart/openradar-mirror/milestones/16/labels","id":1237430,"node_id":"MDk6TWlsZXN0b25lMTIzNzQzMA==","number":16,"title":"Xcode","description":null,"creator":{"login":"openradar-mirror","id":13605213,"node_id":"MDQ6VXNlcjEzNjA1MjEz","avatar_url":"https://avatars1.githubusercontent.com/u/13605213?v=4","gravatar_id":"","url":"https://api.github.com/users/openradar-mirror","html_url":"https://github.com/openradar-mirror","followers_url":"https://api.github.com/users/openradar-mirror/followers","following_url":"https://api.github.com/users/openradar-mirror/following{/other_user}","gists_url":"https://api.github.com/users/openradar-mirror/gists{/gist_id}","starred_url":"https://api.github.com/users/openradar-mirror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openradar-mirror/subscriptions","organizations_url":"https://api.github.com/users/openradar-mirror/orgs","repos_url":"https://api.github.com/users/openradar-mirror/repos","events_url":"https://api.github.com/users/openradar-mirror/events{/privacy}","received_events_url":"https://api.github.com/users/openradar-mirror/received_events","type":"User","site_admin":false},"open_issues":673,"closed_issues":24,"state":"open","created_at":"2015-08-03T02:08:42Z","updated_at":"2018-12-12T23:03:16Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2018-12-12T23:03:15Z","updated_at":"2018-12-12T23:03:15Z","closed_at":null,"author_association":"COLLABORATOR","body":"#### Description\n\nSummary:\r\n\r\nXcode 10.x fails to sweep console messages over an extended period of time, thereby allowing a memory leak that allows Xcode's memory footprint to balloon until it either (a) crashes or (b) causes a system failure.\r\n\r\nThis occurs with any application that has a high frequency of logging messages over an extended period of time.\r\n\r\nThis bug is a regression because it is not present in Xcode 9.4.x and before.\r\n\r\nSteps to Reproduce:\r\n\r\n1. Download and decompress ConsoleMemoryLeak.zip\r\n2. Open project in Xcode 10.x (tested build is 10B61)\r\n3. Open Activity Monitor and switch to \"Memory\" tab\r\n4. In Activity Monitor, filter for \"Xcode\"\r\n5. Build and run ConsoleMemoryLeak.app\r\n\r\nExpected Results:\r\n\r\nI expect Xcode to \"memory sweep\" the console messages around the 1-2 GB memory range for its own footprint. I have included a screen grab of Activity Monitory running Xcode 9.4.1 (9F2000) as an \"expected outcome\" image result.\r\n\r\nActual Results:\r\n\r\nInstead, I watch Xcode's memory footprint grow in an asymptotic linear fashion to many gigabytes of memory. It appears to not sweep its console message memory cache, therefore causing it to grow in an unconstrained fashion.\r\n\r\nIf left alone, should cause either an app or system crash of some kind within 15-30 minutes. I have included a screengrab and sysdiagnose dump of Activity Monitor running 10B61 as an \"actual outcome\" image result.\r\n\r\nVersion/Build:\r\n\r\nXcode 10B61\r\n\r\nConfiguration:\r\n\r\nmacOS Mojave 10.14.2\n\n-\nProduct Version: 10.1\nCreated: 2018-12-12T22:41:28.259509\nOriginated: 2018-12-12T00:00:00\nOpen Radar Link: http://www.openradar.me/46675860"}}
{"actor":{"display_login":"openradar-mirror"}}