public void trim ( ) { List < byte [ ] > chunkList = mChunkList ; while ( chunkList . size ( ) - 1 > mCurrentChunkIndex ) { chunkList . remove ( chunkList . size ( ) - 1 ) ; } }
Reduce the memory allocated by this object by freeing all unused chunks .