[SXP-25] SXP Bytebuff memory leak Created: 19/May/15 Updated: 17/Jun/15 Resolved: 17/Jun/15 |
|
| Status: | Resolved |
| Project: | sxp |
| Component/s: | General |
| Affects Version/s: | unspecified |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Martin Mihálek | Assignee: | Martin Mihálek |
| 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: | 3282 |
| Description |
|
SXP does not release outbound messages after writing them out to wire => ByteBuf is reference-counted type in Netty and JVM is not aware of the reference counting Netty implements, it will automatically GC them once they become unreachable |
| Comments |
| Comment by Martin Mihálek [ 19/May/15 ] |
|
io.netty.buffer.AdvancedLeakAwareByteBuf.writeBytes(AdvancedLeakAwareByteBuf.java:565) |
| Comment by Martin Mihálek [ 12/Jun/15 ] |