Child pages
  • openIG proxy video out of memery
Skip to end of metadata
Go to start of metadata

I use openIG to proxy portal ,the portal contain video resouce. I watch video from proxy,so  tomcat oom.the detail is below:

Exception in thread "I/O dispatcher 72" java.lang.OutOfMemoryError: Direct buffe
r memory
at java.nio.Bits.reserveMemory(Bits.java:658)
at java.nio.DirectByteBuffer.<init>(DirectByteBuffer.java:123)
at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:311)
at sun.nio.ch.Util.getTemporaryDirectBuffer(Util.java:174)
at sun.nio.ch.IOUtil.read(IOUtil.java:195)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
at org.apache.http.impl.nio.codecs.AbstractContentDecoder.readFromChanne
l(AbstractContentDecoder.java:129)
at org.apache.http.impl.nio.codecs.LengthDelimitedDecoder.read(LengthDel
imitedDecoder.java:86)
at org.apache.http.nio.util.SimpleInputBuffer.consumeContent(SimpleInput
Buffer.java:68)
at org.apache.http.nio.protocol.BasicAsyncResponseConsumer.onContentRece
ived(BasicAsyncResponseConsumer.java:82)
at org.apache.http.nio.protocol.AbstractAsyncResponseConsumer.consumeCon
tent(AbstractAsyncResponseConsumer.java:141)
at org.apache.http.impl.nio.client.MainClientExec.consumeContent(MainCli
entExec.java:329)

  • No labels