Project

General

Profile

Actions

bug #7047

closed

Vaadin UI and View scope beans are not always destroyed correctly

Added by Andreas Kohlbecker over 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Highest
Category:
cdm-vaadin
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Severity:
normal
Found in Version:
Tags:

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

Vaadin-Bean-Destroy-Breakpoints.bkpt (10.3 KB) Vaadin-Bean-Destroy-Breakpoints.bkpt Andreas Kohlbecker, 01/23/2018 01:42 PM

Related issues

Related to EDIT - bug #6687: Multiple representations of the same entity merge problemClosedAndreas Kohlbecker

Actions
Related to EDIT - bug #7046: replace open session per view pattern by DTO strategyClosedAndreas Kohlbecker

Actions
Related to EDIT - bug #7036: correctly release vaadin view resources when the browser windows has been closedClosedAndreas Kohlbecker

Actions
Related to EDIT - bug #7742: vaadin view presenters not disposing ehcaches and object references in event bus which can cause memory leaksClosedAndreas Kohlbecker

Actions
Actions

Also available in: Atom PDF