[JBoss JIRA] (WFLY-12643) Memory leak in FlashScope - expired elements are not cleared
by Ivo Studensky (Jira)
[ https://issues.jboss.org/browse/WFLY-12643?page=com.atlassian.jira.plugin... ]
Ivo Studensky updated WFLY-12643:
---------------------------------
Labels: downstream_dependency (was: )
> Memory leak in FlashScope - expired elements are not cleared
> ------------------------------------------------------------
>
> Key: WFLY-12643
> URL: https://issues.jboss.org/browse/WFLY-12643
> Project: WildFly
> Issue Type: Bug
> Components: JSF
> Environment: * JBoss EAP 7.2.3 (also JBoss EAP 7.1.6 that is the latest version in 7.1.x is affected by this issue)
> Reporter: Bartosz Spyrko
> Assignee: Bartosz Spyrko
> Priority: Critical
> Labels: downstream_dependency
>
> Objects in FlashScope is not cleared and keep accumulating even if POST-REDIRECT-BACK is completed.
> If we put a huge object to FlashScope continuously as the following code, Java heap space will be exhausted soon.
> {code:java}
> @Model
> public class Action {
> private static final int oneHundredMB = 1024 * 1024 * 100;
> public String next() {
> Flash flash = FacesContext.getCurrentInstance().getExternalContext().getFlash();
> flash.putNow("huge", new byte[oneHundredMB]);
> return "index.xhtml?faces-redirect=true";
> }
> }
> {code}
> When OutOfMemoryError is happened, flashInnerMap field in com.sun.faces.context.flash.ELFlash is bloated.
> {noformat}
> Class Name | Ref. Objects | Shallow Heap | Ref. Shallow Heap | Retained Heap
> -----------------------------------------------------------------------------------------------------------------------------------------
> java.lang.Thread @ 0xeea24380 default task-1 Thread | 1 | 120 | 64 | 20,800
> '- <Java Local> com.sun.faces.context.flash.ELFlash @ 0xee9e4608 | 1 | 40 | 64 | 64
> '- flashInnerMap java.util.concurrent.ConcurrentHashMap @ 0xee9e4630| 1 | 64 | 64 | 314,574,048
> -----------------------------------------------------------------------------------------------------------------------------------------
> {noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 7 months
[JBoss JIRA] (DROOLS-4483) [DMN Designer] Data Types - Create a drag and drop mechanism
by Guilherme Gomes (Jira)
[ https://issues.jboss.org/browse/DROOLS-4483?page=com.atlassian.jira.plugi... ]
Guilherme Gomes updated DROOLS-4483:
------------------------------------
Attachment: demo.gif
> [DMN Designer] Data Types - Create a drag and drop mechanism
> -------------------------------------------------------------
>
> Key: DROOLS-4483
> URL: https://issues.jboss.org/browse/DROOLS-4483
> Project: Drools
> Issue Type: Task
> Components: DMN Editor
> Reporter: Guilherme Gomes
> Assignee: Guilherme Gomes
> Priority: Major
> Labels: drools-tools
> Attachments: 2019-08-27 12.16.20.gif, demo.gif, mockup.png, vertical-and-horizontal.png
>
>
> !mockup.png|thumbnail! This JIRA comprehends only the drag and drop mechanism.
> The component must allow horizontal and vertical indentation:
> !vertical-and-horizontal.png|width=600!
> Vertical behaviour: when a row is vertically dragged, it must follow a grid of rows (like this: https://gist.github.com/karreiro/3e5fbf6b363f30eed0268e0a01190096)
> !2019-08-27 12.16.20.gif|width=300!
> Horizontal behaviour: when a row is horizontally dragged, it doesn't follow a grid, but when it's dropped, it must be nested to the element that the horizontal level:
> !mockup.png|width=600!
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 7 months