We're updating the issue view to help you get more done. 

Limit the size of queues

Description

In various parts of Openfire, queues are in use to (temporarily) store data (often Packets). If a bug is introduced where those queues aren't emptied, a memory leak occurs.

Queues should all get a defined capacity, smaller than the maximum integer value. The capacity should be set in such a way that it will not be reached under extreme, but valid circumstances.

If a queue reaches capacity (runtime) exceptions will be thrown and logged, which will make the source of the problem very visible.

Environment

None

Acceptance Test - Entry

None

Activity

Show:
Guus der Kinderen
November 7, 2009, 6:47 PM

Most of the BlockingQueues in use have now been capped at 10,000 elements.

Assignee

Guus der Kinderen

Reporter

Guus der Kinderen

Labels

None

Expected Effort

None

Ignite Forum URL

None

Components

Fix versions

Affects versions

Priority

Major
Configure