[ https://issues.apache.org/jira/browse/PIVOT-934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13937493#comment-13937493 ]
Łukasz Hanusiak commented on PIVOT-934: --------------------------------------- After over a month of constant application run time problem occurred once again. It looks like ImageListeners are allocated in TerraTheme.messageIcons map. In my case over 170MB of memory was allocated in MessageType.INFO (ordinal = 3) key of messageIcons map. I am attaching heap dump and leak report screenshot below: https://www.dropbox.com/s/cawsa0b0wanvfef/2014-03-17%2007_02_58-Memory%20Analysis%20-%20C__Users_lhanusiak_Desktop_bs3_06_03_2014_01_44_50_heap_bs3_06.png https://www.dropbox.com/s/6j3ld38dzlpsate/bs3_06_03_2014_01_44_50_heap.7z I am still unable to provide a test case for this issue. > Prompt image causing memory leak > -------------------------------- > > Key: PIVOT-934 > URL: https://issues.apache.org/jira/browse/PIVOT-934 > Project: Pivot > Issue Type: Bug > Affects Versions: 2.0.3 > Reporter: Łukasz Hanusiak > Assignee: Sandro Martini > Fix For: 2.0.4 > > > I am using Pivot 2.0.3. For a while now my application after several hours of > usage is crashing because of Java heap space OutOfMemoryError. After > analyzing heap dump I traced issue to some org.apache.pivot.wtk.media.Picture > used in org.apache.pivot.wtk.Prompt. However I am unable to reproduce problem > in my test environment but in production application crashes every 6 or so > hours. Can anybody give me some tips how to workaround this problem. > I attached some screenshots form leak suspect report made using Eclipse I > hope this will be helpful to you > https://www.dropbox.com/s/uo7fkeglq35x9nh/screenshot1.png > https://www.dropbox.com/s/01oepwqro9hszcg/screenshot2.png -- This message was sent by Atlassian JIRA (v6.2#6252)