bug #7047
closedVaadin UI and View scope beans are not always destroyed correctly
100%
Description
while examining problems related to the connection pool runnig out of available connections it turned out that Vaadin UI and View scope beans are not always destroyed correctly once the view or UI was no longer used.
One problem was caused by the LoginViewBean being in UIScope. This issue has been solved meanwhile with cdm-vaadin|157c9c3 but it seems as if some views and presenters are still never being disposed and garbage collected correctly. This can potentially cause the vaadin UIs to eat up all memory over long time.
Files
Related issues
Updated by Andreas Kohlbecker over 6 years ago
- Related to bug #7036: correctly release vaadin view resources when the browser windows has been closed added
Updated by Andreas Kohlbecker over 6 years ago
- Related to bug #6687: Multiple representations of the same entity merge problem added
Updated by Andreas Kohlbecker over 6 years ago
- Related to bug #7046: replace open session per view pattern by DTO strategy added
Updated by Andreas Kohlbecker over 6 years ago
- Related to deleted (bug #7036: correctly release vaadin view resources when the browser windows has been closed)
Updated by Andreas Kohlbecker over 6 years ago
- Is duplicate of bug #7036: correctly release vaadin view resources when the browser windows has been closed added
Updated by Andreas Kohlbecker over 6 years ago
- Is duplicate of deleted (bug #7036: correctly release vaadin view resources when the browser windows has been closed)
Updated by Andreas Kohlbecker over 6 years ago
- Related to bug #7036: correctly release vaadin view resources when the browser windows has been closed added
Updated by Andreas Kohlbecker over 6 years ago
Updated by Andreas Kohlbecker about 6 years ago
- Priority changed from New to Priority11
Updated by Andreas Kohlbecker over 5 years ago
- Related to bug #7742: vaadin view presenters not disposing ehcaches and object references in event bus which can cause memory leaks added
Updated by Andreas Kohlbecker over 5 years ago
- Description updated (diff)
- Status changed from New to Feedback
- Target version changed from Unassigned CDM tickets to Release 5.3
this should also be fixed now that #7742 is solved
Updated by Andreas Kohlbecker over 5 years ago
- Status changed from Feedback to Resolved
Updated by Andreas Kohlbecker over 5 years ago
- Target version changed from Release 5.3 to Release 5.4
The RegistrationWorkingsetPresenter
, LoginPresenter
and RegistationUI
still are not destroyed correctly. At least RegistrationWorkingsetPresenter
still seems to be registered to the view event bus.
Is this a session timeout issue?
Updated by Andreas Kohlbecker over 5 years ago
- Status changed from Resolved to In Progress
Updated by Andreas Kohlbecker over 5 years ago
Andreas Kohlbecker wrote:
The
RegistrationWorkingsetPresenter
,LoginPresenter
andRegistationUI
still are not destroyed correctly. At leastRegistrationWorkingsetPresenter
still seems to be registered to the view event bus.Is this a session timeout issue?
after ~1h the above mentioned beans have been destroyed with the VaadinSession
Updated by Andreas Kohlbecker over 5 years ago
- Priority changed from Priority11 to Highest
Updated by Andreas Kohlbecker over 5 years ago
- Target version changed from Release 5.4 to Release 5.5
this should be fixed mean while according to the examination made for #7824
I am leaving this issue open to be confirmed very soon.
Updated by Andreas Müller over 5 years ago
if you think it is fixed shouldn't we set it to resolved and keep in 5.4 milestone? So we remember it as being primarily a review ticket. If not fully fixed we can still move it to next version, if fixed we simply close it.
Updated by Andreas Kohlbecker over 5 years ago
- Status changed from In Progress to Closed
- Target version changed from Release 5.5 to Release 5.4
- % Done changed from 0 to 100
this has been solved by the changes made for #7036