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

broker occur an exception caused by OutOfMemoryError

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      apache-artemis-2.6.3 deployed on windows10

    • Flags:
      Patch
    • Docs Text:
      Hide
      2019-09-28 00:40:12,607 WARN [io.netty.channel.nio.NioEventLoop] Unexpected exception in the selector loop.: java.lang.OutOfMemoryError: Java heap space
      at java.util.ArrayList.iterator(ArrayList.java:840) [rt.jar:1.8.0_171]
      at sun.nio.ch.WindowsSelectorImpl.updateSelectedKeys(WindowsSelectorImpl.java:496) [rt.jar:1.8.0_171]
      at sun.nio.ch.WindowsSelectorImpl.doSelect(WindowsSelectorImpl.java:172) [rt.jar:1.8.0_171]
      at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86) [rt.jar:1.8.0_171]
      at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97) [rt.jar:1.8.0_171]
      at io.netty.channel.nio.SelectedSelectionKeySetSelector.select(SelectedSelectionKeySetSelector.java:62) [netty-all-4.1.24.Final.jar:4.1.24.Final]
      at io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:753) [netty-all-4.1.24.Final.jar:4.1.24.Final]
      at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:409) [netty-all-4.1.24.Final.jar:4.1.24.Final]
      at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884) [netty-all-4.1.24.Final.jar:4.1.24.Final]
      at org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118) [artemis-commons-2.6.3.jar:2.6.3]
      Show
      2019-09-28 00:40:12,607 WARN [io.netty.channel.nio.NioEventLoop] Unexpected exception in the selector loop.: java.lang.OutOfMemoryError: Java heap space at java.util.ArrayList.iterator(ArrayList.java:840) [rt.jar:1.8.0_171] at sun.nio.ch.WindowsSelectorImpl.updateSelectedKeys(WindowsSelectorImpl.java:496) [rt.jar:1.8.0_171] at sun.nio.ch.WindowsSelectorImpl.doSelect(WindowsSelectorImpl.java:172) [rt.jar:1.8.0_171] at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86) [rt.jar:1.8.0_171] at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97) [rt.jar:1.8.0_171] at io.netty.channel.nio.SelectedSelectionKeySetSelector.select(SelectedSelectionKeySetSelector.java:62) [netty-all-4.1.24.Final.jar:4.1.24.Final] at io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:753) [netty-all-4.1.24.Final.jar:4.1.24.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:409) [netty-all-4.1.24.Final.jar:4.1.24.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884) [netty-all-4.1.24.Final.jar:4.1.24.Final] at org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118) [artemis-commons-2.6.3.jar:2.6.3]

      Description

      I have run the artemis on the PC as the message forwarding server , after two months , the client can not connect the server again, I checked the log ,found it show as following:
      2019-09-28 00:40:12,607 WARN [io.netty.channel.nio.NioEventLoop] Unexpected exception in the selector loop.: java.lang.OutOfMemoryError: Java heap space

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              wubo yangwubo
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Time Tracking

                Estimated:
                Original Estimate - 12h
                12h
                Remaining:
                Remaining Estimate - 12h
                12h
                Logged:
                Time Spent - Not Specified
                Not Specified