pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Łukasz Hanusiak (JIRA) <j...@apache.org>
Subject [jira] [Commented] (PIVOT-934) Prompt image causing memory leak
Date Mon, 17 Mar 2014 06:25:42 GMT

    [ 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:



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

View raw message