{"action":"created","issue":{"url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/427","repository_url":"https://api.github.com/repos/SeleniumHQ/selenium","labels_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/427/labels{/name}","comments_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/427/comments","events_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/427/events","html_url":"https://github.com/SeleniumHQ/selenium/issues/427","id":66953987,"number":427,"title":"OutOfMemoryError caused by UnixProcess holding all output written to stdout","user":{"login":"cerebrotecnologico","id":1891405,"avatar_url":"https://avatars.githubusercontent.com/u/1891405?v=3","gravatar_id":"","url":"https://api.github.com/users/cerebrotecnologico","html_url":"https://github.com/cerebrotecnologico","followers_url":"https://api.github.com/users/cerebrotecnologico/followers","following_url":"https://api.github.com/users/cerebrotecnologico/following{/other_user}","gists_url":"https://api.github.com/users/cerebrotecnologico/gists{/gist_id}","starred_url":"https://api.github.com/users/cerebrotecnologico/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cerebrotecnologico/subscriptions","organizations_url":"https://api.github.com/users/cerebrotecnologico/orgs","repos_url":"https://api.github.com/users/cerebrotecnologico/repos","events_url":"https://api.github.com/users/cerebrotecnologico/events{/privacy}","received_events_url":"https://api.github.com/users/cerebrotecnologico/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SeleniumHQ/selenium/labels/C-java","name":"C-java","color":"fbca04"},{"url":"https://api.github.com/repos/SeleniumHQ/selenium/labels/I-needs%20investigation","name":"I-needs investigation","color":"eb6420"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-04-07T18:00:51Z","updated_at":"2016-02-28T03:54:13Z","closed_at":"2016-01-29T16:35:20Z","body":"The class org.openqa.selenium.os.UnixProcess contains the following method:\r\n\r\nprivate final ByteArrayOutputStream inputOut = new ByteArrayOutputStream();\r\n\r\nprivate OutputStream getOutputStream() {\r\nreturn drainTo == null ? inputOut\r\n: new MultioutputStream(inputOut, drainTo);\r\n}\r\n\r\nThe variable inputOut is a ByteArrayOutputStream, holding anything that is written in stdout into an array of bytes. The contents are never eliminated, therefore, all output is accumulated, eventually producing the OutOfMemoryError."},"comment":{"url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/comments/189777403","html_url":"https://github.com/SeleniumHQ/selenium/issues/427#issuecomment-189777403","issue_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/427","id":189777403,"user":{"login":"lukeis","id":926454,"avatar_url":"https://avatars.githubusercontent.com/u/926454?v=3","gravatar_id":"","url":"https://api.github.com/users/lukeis","html_url":"https://github.com/lukeis","followers_url":"https://api.github.com/users/lukeis/followers","following_url":"https://api.github.com/users/lukeis/following{/other_user}","gists_url":"https://api.github.com/users/lukeis/gists{/gist_id}","starred_url":"https://api.github.com/users/lukeis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukeis/subscriptions","organizations_url":"https://api.github.com/users/lukeis/orgs","repos_url":"https://api.github.com/users/lukeis/repos","events_url":"https://api.github.com/users/lukeis/events{/privacy}","received_events_url":"https://api.github.com/users/lukeis/received_events","type":"User","site_admin":false},"created_at":"2016-02-28T03:54:13Z","updated_at":"2016-02-28T03:54:13Z","body":"@jsdevel it's in selenium-remote-driver - http://repo1.maven.org/maven2/org/seleniumhq/selenium/selenium-remote-driver/2.52.0/selenium-remote-driver-2.52.0.jar\r\n\r\n(and it's included in the standalone jar)"}}