MINA
  1. MINA
  2. DIRMINA-748

CachedBufferAllocator does not free buffers when maxCachedBufferSize=0

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-RC1
    • Fix Version/s: 2.0.0
    • Component/s: Core
    • Labels:
      None

      Description

      The CachedBufferAllocator created with maxCachedBufferSize=0 always allocates new buffers instead of reusing them.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        58d 1h 36m 1 Emmanuel Lecharny 14/Jan/10 18:26
        Resolved Resolved Closed Closed
        389d 16h 37m 1 Emmanuel Lecharny 08/Feb/11 11:03
        Emmanuel Lecharny made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Hide
        Emmanuel Lecharny added a comment -

        Closing issues

        Show
        Emmanuel Lecharny added a comment - Closing issues
        Emmanuel Lecharny made changes -
        Fix Version/s 2.0.0 [ 12313701 ]
        Fix Version/s 2.0.0-RC2 [ 12313767 ]
        Emmanuel Lecharny made changes -
        Fix Version/s 2.0.0-RC2 [ 12313767 ]
        Emmanuel Lecharny made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Emmanuel Lecharny added a comment -

        Doh... What a bug !

        Thanks for the fix, it has been applied : http://svn.apache.org/viewvc?rev=899343&view=rev

        Show
        Emmanuel Lecharny added a comment - Doh... What a bug ! Thanks for the fix, it has been applied : http://svn.apache.org/viewvc?rev=899343&view=rev
        matteodg made changes -
        Field Original Value New Value
        Attachment DIRMINA-748.patch [ 12425236 ]
        Hide
        matteodg added a comment -

        Patch file for fixing bug in core/src/main/java/org/apache/mina/core/buffer/CachedBufferAllocator.java

        Show
        matteodg added a comment - Patch file for fixing bug in core/src/main/java/org/apache/mina/core/buffer/CachedBufferAllocator.java
        matteodg created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            matteodg
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development