[JIRA] Resolved: (GRIZZLY-1619) Direct ByteBuffer OOM when running echo benchmark

  • From: "Ryan Lubke (JIRA)" <jira-no-reply@...>
  • To: issues@...
  • Subject: [JIRA] Resolved: (GRIZZLY-1619) Direct ByteBuffer OOM when running echo benchmark
  • Date: Fri, 13 Dec 2013 00:15:49 +0000 (UTC)
  • Auto-submitted: auto-generated


     [ 
https://java.net/jira/browse/GRIZZLY-1619?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ryan Lubke resolved GRIZZLY-1619.
---------------------------------

         Assignee: Ryan Lubke
    Fix Version/s: 3.0
       Resolution: Fixed

Changes applied:  master: 038260468ffcaa07ea0c00f4e4ede9c0ef22ce98

> Direct ByteBuffer OOM when running echo benchmark
> -------------------------------------------------
>
>                 Key: GRIZZLY-1619
>                 URL: https://java.net/jira/browse/GRIZZLY-1619
>             Project: grizzly
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: 3.0
>            Reporter: Ryan Lubke
>            Assignee: Ryan Lubke
>             Fix For: 3.0
>
>
> Running using the following benchmark definition:
> {code}
> 2dot0/http-echo|-server,-Xmx512m,-Dorg.glassfish.grizzly.DEFAULT_MEMORY_MANAGER=org.glassfish.grizzly.memory.PooledMemoryManager|-binary=true,-chunked=false
>  3 64|60|240|60|8192|http://localhost:9011/echo
> {code}
> Exception:
> {code}
> WARNING: GRIZZLY0013: Exception during FilterChain execution
> java.lang.OutOfMemoryError: Direct buffer memory
>       at java.nio.Bits.reserveMemory(Bits.java:658)
>       at java.nio.DirectByteBuffer.<init>(DirectByteBuffer.java:123)
>       at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:306)
>       at 
> org.glassfish.grizzly.nio.DirectByteBufferRecord.allocate(DirectByteBufferRecord.java:94)
>       at 
> org.glassfish.grizzly.nio.transport.TCPNIOUtils.fill(TCPNIOUtils.java:193)
>       at 
> org.glassfish.grizzly.nio.transport.TCPNIOUtils.writeCompositeBuffer(TCPNIOUtils.java:82)
>       at 
> org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter.write0(TCPNIOAsyncQueueWriter.java:108)
>       at 
> org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter.write0(TCPNIOAsyncQueueWriter.java:87)
>       at 
> org.glassfish.grizzly.nio.AbstractNIOAsyncQueueWriter.write(AbstractNIOAsyncQueueWriter.java:236)
>       at 
> org.glassfish.grizzly.nio.transport.TCPNIOTransportFilter.handleWrite(TCPNIOTransportFilter.java:122)
>       at 
> org.glassfish.grizzly.filterchain.TransportFilter.handleWrite(TransportFilter.java:189)
>       at 
> org.glassfish.grizzly.filterchain.ExecutorResolver$8.execute(ExecutorResolver.java:111)
>       at 
> org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:388)
>       at 
> org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:307)
>       at 
> org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:241)
>       at 
> org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:178)
>       at 
> org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:73)
>       at 
> org.glassfish.grizzly.filterchain.FilterChainContext.write(FilterChainContext.java:787)
>       at 
> org.glassfish.grizzly.http.io.OutputBuffer.flushBuffer(OutputBuffer.java:951)
>       at 
> org.glassfish.grizzly.http.io.OutputBuffer.flushBinaryBuffers(OutputBuffer.java:938)
>       at 
> org.glassfish.grizzly.http.io.OutputBuffer.flushAllBuffers(OutputBuffer.java:909)
>       at 
> org.glassfish.grizzly.http.io.OutputBuffer.close(OutputBuffer.java:663)
>       at 
> org.glassfish.grizzly.http.server.NIOOutputStreamImpl.close(NIOOutputStreamImpl.java:98)
>       at 
> org.glassfish.grizzly.http.echo.EchoServer$BlockingEchoHandler.service(EchoServer.java:200)
>       at 
> org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:222)
>       at 
> org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:566)
>       at 
> org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:546)
>       at java.lang.Thread.run(Thread.java:744)
> {code}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://java.net/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[JIRA] Created: (GRIZZLY-1619) Direct ByteBuffer OOM when running echo benchmark

Ryan Lubke (JIRA) 12/12/2013

[JIRA] Updated: (GRIZZLY-1619) Direct ByteBuffer OOM when running echo benchmark

Ryan Lubke (JIRA) 12/12/2013

[JIRA] Commented: (GRIZZLY-1619) Direct ByteBuffer OOM when running echo benchmark

Ryan Lubke (JIRA) 12/13/2013

[JIRA] Resolved: (GRIZZLY-1619) Direct ByteBuffer OOM when running echo benchmark

Ryan Lubke (JIRA) 12/13/2013
Terms of Use; Privacy Policy; Copyright ©2013-2015 (revision 20150626.29986a4)
 
 
Close
loading
Please Confirm
Close