Skip to content

No response due to the file size over the default MaxBufferLength of PipeStream #1045

Closed
@starMagic

Description

@starMagic

The default MaxBufferLength of PipeStream is _maxBufferLength = 200 * 1024 * 1024
The issue occurs when there is a file in linux, whose sizes are over the default MaxBufferLength.
Steps:

  1. Given a JsonData1.txt, whose sizes are 210MB ( > 200MB), and a JsonData2.txt, whose sizes are 190MB (< 200MB)
  2. Copy both JsonData1.txt and JsonData2.txt into /test/ in your linux.
  3. Test the JsonData by attached test.zip file.
  4. Config commandtext= "cat /test/JsonData1.txt" in app.config, and config other items.
  5. Run it, then you will get a time out issue. Actually, it should spend about 17s, if you change _maxBufferLength = 300 * 1024 * 1024
  6. Config commandtext= "cat /test/JsonData2.txt" in app.config.
  7. Run it, then you will get an available timespan.

Test.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions