jvm crash OutOfMemoryException

infectedrhytms infectedrhythms at hotmail.com
Fri Mar 12 16:40:32 EST 2010


And also got this stack trace... Though Ithink the stack trace happened first
and then, while the stress tool kept sending eventually the jvm crash. But I
can't confirm. I'm getting the info from a 3rd party user of the my netty
application...

WARNING: An exception was thrown by a user handler while handling an
exception event ([id: 0x01ce3fc5, /x.x.x.x:xxxx => /x.x.x.x:xxxx] EXCEPTION:
java.lang.OutOfMemoryError: unable to create new native thread)

java.lang.OutOfMemoryError: unable to create new native thread
        at java.lang.Thread.start0(Native Method)
        at java.lang.Thread.start(Thread.java:597)
        at
java.util.concurrent.ThreadPoolExecutor.addIfUnderCorePoolSize(ThreadPoolExecutor.java:703)
        at
java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:652)
        at
org.jboss.netty.handler.execution.MemoryAwareThreadPoolExecutor.doUnorderedExecute(MemoryAwareThreadPoolExecutor.java:321)
        at
org.jboss.netty.handler.execution.MemoryAwareThreadPoolExecutor.doExecute(MemoryAwareThreadPoolExecutor.java:314)
        at
org.jboss.netty.handler.execution.MemoryAwareThreadPoolExecutor.execute(MemoryAwareThreadPoolExecutor.java:302)
        at
org.jboss.netty.handler.execution.ExecutionHandler.handleUpstream(ExecutionHandler.java:94)
        at
org.jboss.netty.handler.codec.oneone.OneToOneDecoder.handleUpstream(OneToOneDecoder.java:65)
        at
org.jboss.netty.handler.codec.frame.FrameDecoder.exceptionCaught(FrameDecoder.java:238)
        at
org.jboss.netty.handler.ssl.SslHandler.exceptionCaught(SslHandler.java:449)
        at
org.jboss.netty.channel.Channels.fireExceptionCaught(Channels.java:619)
        at
org.jboss.netty.channel.AbstractChannelSink.exceptionCaught(AbstractChannelSink.java:52)
        at
org.jboss.netty.handler.codec.oneone.OneToOneDecoder.handleUpstream(OneToOneDecoder.java:65)
        at
org.jboss.netty.channel.Channels.fireWriteComplete(Channels.java:425)
        at
org.jboss.netty.channel.socket.nio.NioWorker.writeNow(NioWorker.java:473)
        at
org.jboss.netty.channel.socket.nio.NioWorker.write(NioWorker.java:357)
        at
org.jboss.netty.channel.socket.nio.NioSocketChannel$WriteTask.run(NioSocketChannel.java:233)
        at
org.jboss.netty.channel.socket.nio.NioWorker.processWriteTaskQueue(NioWorker.java:264)
        at
org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:193)
        at
org.jboss.netty.util.internal.IoWorkerRunnable.run(IoWorkerRunnable.java:46)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)

Mar 12, 2010 9:10:27 PM org.jboss.netty.channel.DefaultChannelPipeline

WARNING: An exception was thrown by a user handler while handling an
exception event ([id: 0x01ce3fc5, /x.x.x.x:xxxx => /x.x.x.x:xxxx] EXCEPTION:
java.lang.OutOfMemoryError: unable to create new native thread)

java.lang.OutOfMemoryError: unable to create new native thread
        at java.lang.Thread.start0(Native Method)
        at java.lang.Thread.start(Thread.java:597)
        at
java.util.concurrent.ThreadPoolExecutor.addIfUnderCorePoolSize(ThreadPoolExecutor.java:703)
        at
java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:652)
        at
org.jboss.netty.handler.execution.MemoryAwareThreadPoolExecutor.doUnorderedExecute(MemoryAwareThreadPoolExecutor.java:321)
        at
org.jboss.netty.handler.execution.MemoryAwareThreadPoolExecutor.doExecute(MemoryAwareThreadPoolExecutor.java:314)
        at
org.jboss.netty.handler.execution.MemoryAwareThreadPoolExecutor.execute(MemoryAwareThreadPoolExecutor.java:302)
        at
org.jboss.netty.handler.execution.ExecutionHandler.handleUpstream(ExecutionHandler.java:94)
        at
org.jboss.netty.handler.codec.oneone.OneToOneDecoder.handleUpstream(OneToOneDecoder.java:65)
        at
org.jboss.netty.handler.codec.frame.FrameDecoder.exceptionCaught(FrameDecoder.java:238)
        at
org.jboss.netty.handler.ssl.SslHandler.exceptionCaught(SslHandler.java:449)
        at
org.jboss.netty.channel.Channels.fireExceptionCaught(Channels.java:619)
        at
org.jboss.netty.channel.AbstractChannelSink.exceptionCaught(AbstractChannelSink.java:52)
        at
org.jboss.netty.handler.codec.oneone.OneToOneDecoder.handleUpstream(OneToOneDecoder.java:65)
        at
org.jboss.netty.channel.Channels.fireWriteComplete(Channels.java:425)
        at
org.jboss.netty.channel.socket.nio.NioWorker.writeNow(NioWorker.java:473)
        at
org.jboss.netty.channel.socket.nio.NioWorker.write(NioWorker.java:357)
        at
org.jboss.netty.channel.socket.nio.NioSocketChannel$WriteTask.run(NioSocketChannel.java:233)
        at
org.jboss.netty.channel.socket.nio.NioWorker.processWriteTaskQueue(NioWorker.java:264)
        at
org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:193)
        at
org.jboss.netty.util.internal.IoWorkerRunnable.run(IoWorkerRunnable.java:46)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)

Mar 12, 2010 9:10:27 PM org.jboss.netty.channel.DefaultChannelPipeline

WARNING: An exception was thrown by a user handler while handling an
exception event ([id: 0x01ce3fc5, /x.x.x.x:xxxx => /x.x.x.x:xxxx] EXCEPTION:
java.lang.OutOfMemoryError: unable to create new native thread)

java.lang.OutOfMemoryError: unable to create new native thread
        at java.lang.Thread.start0(Native Method)
        at java.lang.Thread.start(Thread.java:597)
        at
java.util.concurrent.ThreadPoolExecutor.addIfUnderCorePoolSize(ThreadPoolExecutor.java:703)
        at
java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:652)
        at
org.jboss.netty.handler.execution.MemoryAwareThreadPoolExecutor.doUnorderedExecute(MemoryAwareThreadPoolExecutor.java:321)
        at
org.jboss.netty.handler.execution.MemoryAwareThreadPoolExecutor.doExecute(MemoryAwareThreadPoolExecutor.java:314)
        at
org.jboss.netty.handler.execution.MemoryAwareThreadPoolExecutor.execute(MemoryAwareThreadPoolExecutor.java:302)
        at
org.jboss.netty.handler.execution.ExecutionHandler.handleUpstream(ExecutionHandler.java:94)
        at
org.jboss.netty.handler.codec.oneone.OneToOneDecoder.handleUpstream(OneToOneDecoder.java:65)
        at
org.jboss.netty.handler.codec.frame.FrameDecoder.exceptionCaught(FrameDecoder.java:238)
        at
org.jboss.netty.handler.ssl.SslHandler.exceptionCaught(SslHandler.java:449)
        at
org.jboss.netty.channel.Channels.fireExceptionCaught(Channels.java:619)
        at
org.jboss.netty.channel.AbstractChannelSink.exceptionCaught(AbstractChannelSink.java:52)
        at
org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:391)
        at
org.jboss.netty.handler.codec.oneone.OneToOneDecoder.handleUpstream(OneToOneDecoder.java:75)
        at
org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:391)
        at
org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:317)
        at
org.jboss.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:299)
        at
org.jboss.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:216)
        at
org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:391)
        at
org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:317)
        at
org.jboss.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:299)
        at
org.jboss.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:216)
        at
org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:345)
        at
org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:332)
        at
org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:323)
        at
org.jboss.netty.channel.socket.nio.NioWorker.processSelectedKeys(NioWorker.java:275)
        at
org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:196)
        at
org.jboss.netty.util.internal.IoWorkerRunnable.run(IoWorkerRunnable.java:46)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)

Mar 12, 2010 9:10:27 PM org.jboss.netty.channel.DefaultChannelPipeline

WARNING: An exception was thrown by a user handler while handling an
exception event ([id: 0x01ce3fc5, /x.x.x.x:xxxx => /x.x.x.x:xxxx] EXCEPTION:
java.lang.OutOfMemoryError: unable to create new native thread)

java.lang.OutOfMemoryError: unable to create new native thread
        at java.lang.Thread.start0(Native Method)
        at java.lang.Thread.start(Thread.java:597)
        at
java.util.concurrent.ThreadPoolExecutor.addIfUnderCorePoolSize(ThreadPoolExecutor.java:703)
        at
java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:652)
        at
org.jboss.netty.handler.execution.MemoryAwareThreadPoolExecutor.doUnorderedExecute(MemoryAwareThreadPoolExecutor.java:321)
        at
org.jboss.netty.handler.execution.MemoryAwareThreadPoolExecutor.doExecute(MemoryAwareThreadPoolExecutor.java:314)
        at
org.jboss.netty.handler.execution.MemoryAwareThreadPoolExecutor.execute(MemoryAwareThreadPoolExecutor.java:302)
        at
org.jboss.netty.handler.execution.ExecutionHandler.handleUpstream(ExecutionHandler.java:94)
        at
org.jboss.netty.handler.codec.oneone.OneToOneDecoder.handleUpstream(OneToOneDecoder.java:65)
        at
org.jboss.netty.handler.codec.frame.FrameDecoder.exceptionCaught(FrameDecoder.java:238)
        at
org.jboss.netty.handler.ssl.SslHandler.exceptionCaught(SslHandler.java:449)
        at
org.jboss.netty.channel.Channels.fireExceptionCaught(Channels.java:619)
        at
org.jboss.netty.channel.AbstractChannelSink.exceptionCaught(AbstractChannelSink.java:52)
        at
org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:391)
        at
org.jboss.netty.handler.codec.oneone.OneToOneDecoder.handleUpstream(OneToOneDecoder.java:75)
        at
org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:391)
        at
org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:317)
        at
org.jboss.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:299)
        at
org.jboss.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:216)
        at
org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:391)
        at
org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:317)
        at
org.jboss.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:299)
        at
org.jboss.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:216)
        at
org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:345)
        at
org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:332)
        at
org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:323)
        at
org.jboss.netty.channel.socket.nio.NioWorker.processSelectedKeys(NioWorker.java:275)
        at
org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:196)
        at
org.jboss.netty.util.internal.IoWorkerRunnable.run(IoWorkerRunnable.java:46)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
-- 
View this message in context: http://n2.nabble.com/jvm-crash-OutOfMemoryException-tp4724030p4724633.html
Sent from the Netty User Group mailing list archive at Nabble.com.


More information about the netty-users mailing list