Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-2002

Proton transport objects leaked if client disconnects abruptly leading to OutOfMemoryError: Java heap space

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6.2
    • 2.10.0
    • AMQP
    • None

    Description

      If an AMQP client with an attached receiving link disconnects abruptly (i.e. closes socket without sending the AMQP close performative), TransportImpl and other Proton class instances remain referenced within the heap. If many such clients do this, an OutOfMemoryError: Java heap space occurs. This occurs even though the underlying socket connection has been closed.

      I have reproduced this issue against both 2.6.2 and master (f0c13622ac7e821a81a354b0242ef5235b6e82df).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kwall Keith Wall
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 4h 10m
                  4h 10m