History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: SMACK-149
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: Alex Wenckus
Reporter: Gaston Dombiak
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Smack

Fix possible memory leaking in PacketReader

Created: 07/07/06 11:25 AM   Updated: 07/10/06 11:52 AM
Component/s: Core
Affects Version/s: 2.2.1
Fix Version/s: 3.0.0 Beta 1

Time Tracking:
Not Specified

Support Plan Customer Issue: No
Resolution Date: 07/10/06 11:52 AM
Acceptance Test - Add?: No


 Description  « Hide
PacketCollectors and PacketListeners are stored in PacketReader. When they are removed PacketReader will set a null value to the collection instead of removing the slot in the collection. If new collectors or listeners are added to the packet reader then they are adding as new elements to the collection. Null slots are removing when processing incoming packets. Therefore, if no new packets are received (e.g. connection lost or server freezed) then it is possible for an application to remove listeners/collectors and create new ones. This action will end up consuming Smack's memory producing high loads of CPU to clean up garbarge that is never gone.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.