[CONTROLLER-768] Binding DataBroker: memory leak in transaction chains Created: 04/Sep/14 Updated: 05/Sep/14 Resolved: 05/Sep/14 |
|
| Status: | Verified |
| Project: | controller |
| Component/s: | mdsal |
| Affects Version/s: | Helium |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Robert Varga | Assignee: | Tony Tkacik |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 1703 |
| Description |
|
Longivity testing of PCEP has resulted in OOM after ~64000 transactions, with 2GB retained via the BindingTranslatedTransactionChain.delegateTxToBindingTx map. The map is inappropriate use of WeakHashMap, as the binding transaction (value) retains a strong reference to the DOM transaction, causing the memory leak. |
| Comments |
| Comment by Tony Tkacik [ 04/Sep/14 ] |