{"action":"created","issue":{"url":"https://api.github.com/repos/cryptomator/cryptomator/issues/369","repository_url":"https://api.github.com/repos/cryptomator/cryptomator","labels_url":"https://api.github.com/repos/cryptomator/cryptomator/issues/369/labels{/name}","comments_url":"https://api.github.com/repos/cryptomator/cryptomator/issues/369/comments","events_url":"https://api.github.com/repos/cryptomator/cryptomator/issues/369/events","html_url":"https://github.com/cryptomator/cryptomator/issues/369","id":183279150,"node_id":"MDU6SXNzdWUxODMyNzkxNTA=","number":369,"title":"Memory leak on systems running Mesa < 13.0 and X.org < 1.18.4","user":{"login":"xelra","id":908568,"node_id":"MDQ6VXNlcjkwODU2OA==","avatar_url":"https://avatars3.githubusercontent.com/u/908568?v=4","gravatar_id":"","url":"https://api.github.com/users/xelra","html_url":"https://github.com/xelra","followers_url":"https://api.github.com/users/xelra/followers","following_url":"https://api.github.com/users/xelra/following{/other_user}","gists_url":"https://api.github.com/users/xelra/gists{/gist_id}","starred_url":"https://api.github.com/users/xelra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xelra/subscriptions","organizations_url":"https://api.github.com/users/xelra/orgs","repos_url":"https://api.github.com/users/xelra/repos","events_url":"https://api.github.com/users/xelra/events{/privacy}","received_events_url":"https://api.github.com/users/xelra/received_events","type":"User","site_admin":false},"labels":[{"id":332350784,"node_id":"MDU6TGFiZWwzMzIzNTA3ODQ=","url":"https://api.github.com/repos/cryptomator/cryptomator/labels/os:linux","name":"os:linux","color":"bfdadc","default":false},{"id":365656281,"node_id":"MDU6TGFiZWwzNjU2NTYyODE=","url":"https://api.github.com/repos/cryptomator/cryptomator/labels/state:has-workaround","name":"state:has-workaround","color":"bfd4f2","default":false},{"id":277024169,"node_id":"MDU6TGFiZWwyNzcwMjQxNjk=","url":"https://api.github.com/repos/cryptomator/cryptomator/labels/type:upstream-bug","name":"type:upstream-bug","color":"f9d0c4","default":false}],"state":"closed","locked":false,"assignee":{"login":"markuskreusch","id":1536532,"node_id":"MDQ6VXNlcjE1MzY1MzI=","avatar_url":"https://avatars0.githubusercontent.com/u/1536532?v=4","gravatar_id":"","url":"https://api.github.com/users/markuskreusch","html_url":"https://github.com/markuskreusch","followers_url":"https://api.github.com/users/markuskreusch/followers","following_url":"https://api.github.com/users/markuskreusch/following{/other_user}","gists_url":"https://api.github.com/users/markuskreusch/gists{/gist_id}","starred_url":"https://api.github.com/users/markuskreusch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markuskreusch/subscriptions","organizations_url":"https://api.github.com/users/markuskreusch/orgs","repos_url":"https://api.github.com/users/markuskreusch/repos","events_url":"https://api.github.com/users/markuskreusch/events{/privacy}","received_events_url":"https://api.github.com/users/markuskreusch/received_events","type":"User","site_admin":false},"assignees":[{"login":"markuskreusch","id":1536532,"node_id":"MDQ6VXNlcjE1MzY1MzI=","avatar_url":"https://avatars0.githubusercontent.com/u/1536532?v=4","gravatar_id":"","url":"https://api.github.com/users/markuskreusch","html_url":"https://github.com/markuskreusch","followers_url":"https://api.github.com/users/markuskreusch/followers","following_url":"https://api.github.com/users/markuskreusch/following{/other_user}","gists_url":"https://api.github.com/users/markuskreusch/gists{/gist_id}","starred_url":"https://api.github.com/users/markuskreusch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markuskreusch/subscriptions","organizations_url":"https://api.github.com/users/markuskreusch/orgs","repos_url":"https://api.github.com/users/markuskreusch/repos","events_url":"https://api.github.com/users/markuskreusch/events{/privacy}","received_events_url":"https://api.github.com/users/markuskreusch/received_events","type":"User","site_admin":false}],"milestone":null,"comments":30,"created_at":"2016-10-16T17:30:56Z","updated_at":"2018-09-15T17:09:56Z","closed_at":"2018-02-04T14:51:50Z","author_association":"NONE","body":"### Basic Info\r\n- I'm running Cryptomator on: Arch Linux, 4.7.6-1-ARCH\r\n- I'm using Cryptomator in version: 1.2.0\r\n### Description\r\n\r\nWhen selecting DAV as the scheme, the mounting process will take a long time. It will fallback to WebDAV. Initially it seems to be fine, but there's a huge memory leak. After a few minutes the system will become unresponsive and maybe crash.\r\n\r\nThis doesn't happen when directly setting WebDAV as the scheme. Mounting is fast and no memory leak.\r\n\r\nEDIT:\r\nI spoke too soon. It's also memory leaking. Just a lot slower.\r\n\r\n**Solution**\r\n\r\nThis seems to be a [bug in JavaFX or Mesa and x-org](https://github.com/cryptomator/cryptomator/issues/369#issuecomment-344573912). When using a system with Mesa >= 13.0 and X.org >=1.18.4 there should be no problems.\r\n\r\nA user reported that a similar problem occured on Linux Mint 18.2 where Mesa and X.org were already updated. In this case updating to Linux Mint 18.3 solved the issue.\r\n"},"comment":{"url":"https://api.github.com/repos/cryptomator/cryptomator/issues/comments/421600958","html_url":"https://github.com/cryptomator/cryptomator/issues/369#issuecomment-421600958","issue_url":"https://api.github.com/repos/cryptomator/cryptomator/issues/369","id":421600958,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMTYwMDk1OA==","user":{"login":"Kaiden42","id":26521388,"node_id":"MDQ6VXNlcjI2NTIxMzg4","avatar_url":"https://avatars1.githubusercontent.com/u/26521388?v=4","gravatar_id":"","url":"https://api.github.com/users/Kaiden42","html_url":"https://github.com/Kaiden42","followers_url":"https://api.github.com/users/Kaiden42/followers","following_url":"https://api.github.com/users/Kaiden42/following{/other_user}","gists_url":"https://api.github.com/users/Kaiden42/gists{/gist_id}","starred_url":"https://api.github.com/users/Kaiden42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kaiden42/subscriptions","organizations_url":"https://api.github.com/users/Kaiden42/orgs","repos_url":"https://api.github.com/users/Kaiden42/repos","events_url":"https://api.github.com/users/Kaiden42/events{/privacy}","received_events_url":"https://api.github.com/users/Kaiden42/received_events","type":"User","site_admin":false},"created_at":"2018-09-15T17:09:56Z","updated_at":"2018-09-15T17:09:56Z","author_association":"NONE","body":"### Basic information\r\nUsing **cryptomator-1.4.0-beta2-x86_64.AppImage**\r\nOn **Linux Mint 18.3**\r\nWith:\r\n```\r\n$ glxinfo | grep \"OpenGL version\"\r\nOpenGL version string: 3.0 Mesa 18.0.5\r\n```\r\n```\r\n$ X -version\r\nX.Org X Server 1.18.4\r\nRelease Date: 2016-07-19\r\nX Protocol Version 11, Revision 0\r\nBuild Operating System: Linux 4.4.0-97-generic x86_64 Ubuntu\r\n```\r\n### Description\r\nMemory leak still occurs (Fills up my 16GB RAM within 10-15min).\r\n\r\nThanks to the link posted by @njmckenzie the OpenGL hardware acceleration used by JavaFX seems to be the cause.\r\n\r\n## Workaround:\r\nDisable hardware acceleration in prism pipeline.\r\n(If you don't use the Appimage you can skip step 1 & 3)\r\n\r\n1. **Extract Appimage**\r\nThis will extract the files from Appimage into a folder called squashfs-root\r\n`./cryptomator-1.4.0-beta2-x86_64.AppImage --appimage-extract`\r\n\r\n2. **Edit app/Cryptomator.cfg**\r\nAdd `-Dprism.order=j2d` (deprecated) or `-Dprism.order=sw` (recommended) to `[JVMOptions]`\r\nlike this:\r\n```\r\n[JVMOptions]\r\n-Xss2m\r\n-Xmx512m\r\n-Dprism.order=sw\r\n```\r\n\r\n3. **Repack folder into Appimage**\r\nUsing AppimageTool frome here [https://github.com/AppImage/AppImageKit/releases](https://github.com/AppImage/AppImageKit/releases)\r\n`./appimagetool-x86_64.AppImage squashfs-root/`\r\n\r\n4. **Enjoy :)**\r\n\r\nMy Cryptomator is now running since days with a constant consumption of just 3% RAM."}}
{"actor":{"display_login":"Kaiden42"}}