Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Large tape produces RangeError: Invalid string length error #712

Description

@thedarkside

The tape is 536824106 bytes in size and now im facing the following stacktrace for new items.

Its a xml heavy api with many requests and large outputs unfortunately.

Unexpected error: RangeError: Invalid string length
    at writeBlockSequence (/home/tobi/.local/share/mise/installs/node/24.14.0/lib/node_modules/proxay/node_modules/js-yaml/lib/dumper.js:619:24)
    at writeNode (/home/tobi/.local/share/mise/installs/node/24.14.0/lib/node_modules/proxay/node_modules/js-yaml/lib/dumper.js:849:11)
    at writeBlockMapping (/home/tobi/.local/share/mise/installs/node/24.14.0/lib/node_modules/proxay/node_modules/js-yaml/lib/dumper.js:731:10)
    at writeNode (/home/tobi/.local/share/mise/installs/node/24.14.0/lib/node_modules/proxay/node_modules/js-yaml/lib/dumper.js:834:9)
    at Object.dump (/home/tobi/.local/share/mise/installs/node/24.14.0/lib/node_modules/proxay/node_modules/js-yaml/lib/dumper.js:960:7)
    at Persistence.saveTapeToDisk (/home/tobi/.local/share/mise/installs/node/24.14.0/lib/node_modules/proxay/dist/persistence.js:29:70)
    at RecordReplayServer.addRecordToTape (/home/tobi/.local/share/mise/installs/node/24.14.0/lib/node_modules/proxay/dist/server.js:405:26)
    at RecordReplayServer.<anonymous> (/home/tobi/.local/share/mise/installs/node/24.14.0/lib/node_modules/proxay/dist/server.js:319:22)
    at Generator.next (<anonymous>)
    at fulfilled (/home/tobi/.local/share/mise/installs/node/24.14.0/lib/node_modules/proxay/dist/server.js:5:58)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions