{"action":"created","issue":{"url":"https://api.github.com/repos/hhuijser/liferay-portal/issues/3248","repository_url":"https://api.github.com/repos/hhuijser/liferay-portal","labels_url":"https://api.github.com/repos/hhuijser/liferay-portal/issues/3248/labels{/name}","comments_url":"https://api.github.com/repos/hhuijser/liferay-portal/issues/3248/comments","events_url":"https://api.github.com/repos/hhuijser/liferay-portal/issues/3248/events","html_url":"https://github.com/hhuijser/liferay-portal/pull/3248","id":315356276,"number":3248,"title":"[TS] LPS-79753","user":{"login":"yuhai","id":1029227,"avatar_url":"https://avatars0.githubusercontent.com/u/1029227?v=4","gravatar_id":"","url":"https://api.github.com/users/yuhai","html_url":"https://github.com/yuhai","followers_url":"https://api.github.com/users/yuhai/followers","following_url":"https://api.github.com/users/yuhai/following{/other_user}","gists_url":"https://api.github.com/users/yuhai/gists{/gist_id}","starred_url":"https://api.github.com/users/yuhai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuhai/subscriptions","organizations_url":"https://api.github.com/users/yuhai/orgs","repos_url":"https://api.github.com/users/yuhai/repos","events_url":"https://api.github.com/users/yuhai/events{/privacy}","received_events_url":"https://api.github.com/users/yuhai/received_events","type":"User","site_admin":false},"labels":[{"id":868954308,"url":"https://api.github.com/repos/hhuijser/liferay-portal/labels/ci:test%20-%20pending","name":"ci:test - pending","color":"fff4c9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-04-18T07:08:22Z","updated_at":"2018-04-18T07:38:59Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/hhuijser/liferay-portal/pulls/3248","html_url":"https://github.com/hhuijser/liferay-portal/pull/3248","diff_url":"https://github.com/hhuijser/liferay-portal/pull/3248.diff","patch_url":"https://github.com/hhuijser/liferay-portal/pull/3248.patch"},"body":"Hi Hugo,\r\n\r\nThe issue should be known issue from JDK.\r\n\r\nhttps://bugs.openjdk.java.net/browse/JDK-4872014\r\nhttps://bugs.java.com/view_bug.do?bug_id=4872014\r\n\r\nIf file.deleteOnExit() invoked frequently, it will cause memory leak. In liferay, https://issues.liferay.com/browse/LPS-22268 also introduced the issue. **The fix referred to LPS-22268**.\r\n\r\nThe issue will occur apparently when set **dl.store.impl=com.liferay.portal.store.db.DBStore** in portal-ext and then add image document in Oracle. Please refer to the below logic:\r\nhttps://github.com/liferay/liferay-portal/blob/master/modules/apps/foundation/portal-store/portal-store-db/src/main/java/com/liferay/portal/store/db/DBStore.java#L414-L416\r\n->\r\nhttps://github.com/liferay/liferay-portal/blob/master/modules/apps/foundation/portal-store/portal-store-db/src/main/java/com/liferay/portal/store/db/DBStore.java#L438-L441\r\n\r\nWhen DLStoreUtil.getFileAsStream() exectue, it will get the inputStream as AutoDeleteFileInputStream. When AutoDeleteFileInputStream.close() execute, the issue will occur.\r\n\r\nRegards,\r\nHai"},"comment":{"url":"https://api.github.com/repos/hhuijser/liferay-portal/issues/comments/382293651","html_url":"https://github.com/hhuijser/liferay-portal/pull/3248#issuecomment-382293651","issue_url":"https://api.github.com/repos/hhuijser/liferay-portal/issues/3248","id":382293651,"user":{"login":"liferay-continuous-integration","id":4502793,"avatar_url":"https://avatars2.githubusercontent.com/u/4502793?v=4","gravatar_id":"","url":"https://api.github.com/users/liferay-continuous-integration","html_url":"https://github.com/liferay-continuous-integration","followers_url":"https://api.github.com/users/liferay-continuous-integration/followers","following_url":"https://api.github.com/users/liferay-continuous-integration/following{/other_user}","gists_url":"https://api.github.com/users/liferay-continuous-integration/gists{/gist_id}","starred_url":"https://api.github.com/users/liferay-continuous-integration/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liferay-continuous-integration/subscriptions","organizations_url":"https://api.github.com/users/liferay-continuous-integration/orgs","repos_url":"https://api.github.com/users/liferay-continuous-integration/repos","events_url":"https://api.github.com/users/liferay-continuous-integration/events{/privacy}","received_events_url":"https://api.github.com/users/liferay-continuous-integration/received_events","type":"User","site_admin":false},"created_at":"2018-04-18T07:38:59Z","updated_at":"2018-04-18T07:38:59Z","author_association":"COLLABORATOR","body":"<h1>Build started.</h1><p>Jenkins is currently running tests.</p><h4>Base Branch:</h4><p>Branch Name: <a href=\"https://github.com/liferay/liferay-portal/tree/master\">master</a></p><h4>Job Summary:</h4><p>Job Link: <a href=\"https://test-1-8.liferay.com/job/test-portal-acceptance-pullrequest(master)/2236/\">test-portal-acceptance-pullrequest(master)</a></p><p><b>For more details click <a href=\"https://test-1-8.liferay.com//userContent/jobs/test-portal-acceptance-pullrequest(master)/builds/2236/jenkins-report.html\">here</a>.</b></p>"}}
{"actor":{"display_login":"liferay-continuous-integration"}}