{"action":"created","issue":{"url":"https://api.github.com/repos/mapsforge/mapsforge/issues/785","repository_url":"https://api.github.com/repos/mapsforge/mapsforge","labels_url":"https://api.github.com/repos/mapsforge/mapsforge/issues/785/labels{/name}","comments_url":"https://api.github.com/repos/mapsforge/mapsforge/issues/785/comments","events_url":"https://api.github.com/repos/mapsforge/mapsforge/issues/785/events","html_url":"https://github.com/mapsforge/mapsforge/issues/785","id":133930510,"number":785,"title":"OutOfMemoryError at PolylineContainer","user":{"login":"devemux86","id":3484020,"avatar_url":"https://avatars.githubusercontent.com/u/3484020?v=3","gravatar_id":"","url":"https://api.github.com/users/devemux86","html_url":"https://github.com/devemux86","followers_url":"https://api.github.com/users/devemux86/followers","following_url":"https://api.github.com/users/devemux86/following{/other_user}","gists_url":"https://api.github.com/users/devemux86/gists{/gist_id}","starred_url":"https://api.github.com/users/devemux86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devemux86/subscriptions","organizations_url":"https://api.github.com/users/devemux86/orgs","repos_url":"https://api.github.com/users/devemux86/repos","events_url":"https://api.github.com/users/devemux86/events{/privacy}","received_events_url":"https://api.github.com/users/devemux86/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mapsforge/mapsforge/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-16T09:40:02Z","updated_at":"2016-02-16T18:48:33Z","closed_at":null,"body":"@Klaus-Tockloth reported OOM (in Cruiser with latest `dev`) and can provide the specific heavy area where the error is reproducible.\r\nThe device was a [Samsung Galaxy TabS 10.5](http://www.gsmarena.com/samsung_galaxy_tab_s_10_5-6438.php) with Android 5.\r\nI copy here the relevant stack trace from developer console:\r\n\r\n```java\r\njava.lang.OutOfMemoryError: Failed to allocate a 16 byte allocation with 0 free bytes and 3GB until OOM\r\nat org.mapsforge.map.layer.renderer.PolylineContainer.getCoordinatesAbsolute(PolylineContainer.java:83)\r\nat org.mapsforge.map.layer.renderer.PolylineContainer.getCoordinatesRelativeToOrigin(PolylineContainer.java:98)\r\nat org.mapsforge.map.layer.renderer.CanvasRasterer.drawShapePaintContainer(CanvasRasterer.java:158)\r\nat org.mapsforge.map.layer.renderer.CanvasRasterer.drawWays(CanvasRasterer.java:63)\r\nat org.mapsforge.map.layer.renderer.DatabaseRenderer.executeJob(DatabaseRenderer.java:101)\r\nat org.mapsforge.map.layer.renderer.MapWorkerPool$MapWorker.run(MapWorkerPool.java:121)\r\nat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)\r\nat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)\r\nat java.lang.Thread.run(Thread.java:818)\r\n```"},"comment":{"url":"https://api.github.com/repos/mapsforge/mapsforge/issues/comments/184823364","html_url":"https://github.com/mapsforge/mapsforge/issues/785#issuecomment-184823364","issue_url":"https://api.github.com/repos/mapsforge/mapsforge/issues/785","id":184823364,"user":{"login":"Klaus-Tockloth","id":5493128,"avatar_url":"https://avatars.githubusercontent.com/u/5493128?v=3","gravatar_id":"","url":"https://api.github.com/users/Klaus-Tockloth","html_url":"https://github.com/Klaus-Tockloth","followers_url":"https://api.github.com/users/Klaus-Tockloth/followers","following_url":"https://api.github.com/users/Klaus-Tockloth/following{/other_user}","gists_url":"https://api.github.com/users/Klaus-Tockloth/gists{/gist_id}","starred_url":"https://api.github.com/users/Klaus-Tockloth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Klaus-Tockloth/subscriptions","organizations_url":"https://api.github.com/users/Klaus-Tockloth/orgs","repos_url":"https://api.github.com/users/Klaus-Tockloth/repos","events_url":"https://api.github.com/users/Klaus-Tockloth/events{/privacy}","received_events_url":"https://api.github.com/users/Klaus-Tockloth/received_events","type":"User","site_admin":false},"created_at":"2016-02-16T18:48:33Z","updated_at":"2016-02-16T18:48:33Z","body":"The crashes only occur with activated label layer. Concering the zoom-interval-conf I use the defaults."}}