Uploaded image for project: 'Hawkular'
  1. Hawkular
  2. HAWKULAR-939

Hawkular won't startup because datastax driver throwing out of memory

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 1.0.0.Alpha 11
    • 1.0.0.Alpha8
    • None
    • None
    • Hide

      Build hawkular and start it up:
      mvn clean install -Pdev
      cd dist/target/hawkular-1.0.0.Alpha9-SNAPSHOT/bin
      ./standalone.sh

      Show
      Build hawkular and start it up: mvn clean install -Pdev cd dist/target/hawkular-1.0.0.Alpha9-SNAPSHOT/bin ./standalone.sh

    Description

      When trying to startup Hawkular it immediately runs out of memory (I have plenty of memory btw):

      16:05:58,733 INFO [com.datastax.driver.core.Cluster] (EE-ManagedExecutorService-default-Thread-1) New Cassandra host /127.0.0.1:9042 added
      16:05:59,024 WARNING [io.netty.channel.DefaultChannelPipeline] (cluster22-nio-worker-0) An exception was thrown by a user handler's exceptionCaught() method while handling the following exception:: java.lang.OutOfMemoryError: unable to create new native thread
      at java.lang.Thread.start0(Native Method)
      at java.lang.Thread.start(Thread.java:714)
      at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:950)
      at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1357)
      at com.google.common.util.concurrent.MoreExecutors$ListeningDecorator.execute(MoreExecutors.java:484)
      at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112)
      at com.google.common.util.concurrent.AbstractListeningExecutorService.submit(AbstractListeningExecutorService.java:50)
      at com.datastax.driver.core.Cluster$Manager.submitSchemaRefresh(Cluster.java:2021)
      at com.datastax.driver.core.Cluster$Manager.handle(Cluster.java:2185)
      at com.datastax.driver.core.Connection$Dispatcher.channelRead0(Connection.java:971)
      at com.datastax.driver.core.Connection$Dispatcher.channelRead0(Connection.java:916)
      at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:339)
      at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:324)
      at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:254)
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:339)
      at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:324)
      at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:339)
      at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:324)
      at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:242)
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:339)
      at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:324)
      at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:847)
      at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
      at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)
      at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)
      at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)
      at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)
      at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:111)
      at java.lang.Thread.run(Thread.java:745)

      Attachments

        Activity

          People

            Unassigned Unassigned
            mithomps1@redhat.com Mike Thompson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: