[ https://issues.apache.org/jira/browse/PIVOT-934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13855503#comment-13855503 ]
Sandro Martini commented on PIVOT-934: -------------------------------------- Hi Lukasz, this is very strange, the related issue should be already resolved in 2.0.3 ... in your application what are you doing ? Are you opening/closing many (many) times different Prompt with different images ? What version of Java and O.S. are you using ? As a workaround for now I'd say try to remove cached image/s after closing a Prompt. Tell us if you have more info, so we can try to reproduce it. > 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 > > 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.1.5#6160)