Issue 77 in bigstreams: OutOfMemoryError in collector should cause collector to fail

1 view
Skip to first unread message

bigst...@googlecode.com

unread,
Jun 2, 2013, 7:58:25 AM6/2/13
to stream...@googlegroups.com
Status: Accepted
Owner: gerr...@gmail.com
Labels: Type-Enhancement Priority-Medium

New issue 77 by gerr...@gmail.com: OutOfMemoryError in collector should
cause collector to fail
http://code.google.com/p/bigstreams/issues/detail?id=77

When an OOM is caught while using the Compressor/DeCompressor pool the
collector should call System.exit and fail the application.

If not the application will just run but never be able to react to any new
requests.

java.io.IOException: java.lang.OutOfMemoryError: Direct buffer memory
at java.nio.Bits.reserveMemory(Unknown Source)
at java.nio.DirectByteBuffer.<init>(Unknown Source)
at java.nio.ByteBuffer.allocateDirect(Unknown Source)
at
com.hadoop.compression.lzo.LzoDecompressor.<init>(LzoDecompressor.java:186)
at
com.hadoop.compression.lzo.LzopDecompressor.<init>(LzopDecompressor.java:36)
at
com.hadoop.compression.lzo.LzopCodec.createDecompressor(LzopCodec.java:130)
at
org.streams.commons.compression.impl.CompressionPoolImpl.create(CompressionPoolImpl.java:156)
at
org.streams.commons.io.impl.ProtocolImpl.read(ProtocolImpl.java:104)


--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages