Hi Team,
Why are we not freeing the Buffer allocated after writing message to IoSession in the class path…
openfire/xmppserver/src/main/java/org/jivesoftware/openfire/nio/NIOConnection.java
line: IoBuffer buffer = IoBuffer.allocate(4096);
In this I didn’t find any line were we are freeing the allocated byte.
This might be causing memory leakage which in time will consume the entire memory…
In case of “error while delivering packet” can’t we free the allocated buffer?
And in positive scenarios, where are we freeing the allocated buffer?