fflewddur / tivolibre

Java app and library for decoding TiVo files to standard MPEG files.
GNU General Public License v3.0
34 stars 4 forks source link

Large PipedInputStreams cause severe slowdowns and high memory usage #2

Closed fflewddur closed 9 years ago

fflewddur commented 9 years ago

Using a PipedInputStream as the source results in TivoLibre running progressively slower and consuming more memory as the decode progresses. Regular InputStreams do not exhibit this behavior.

fflewddur commented 9 years ago

Resolved by removing the ConcurrentByteBuffer.