big-json icon indicating copy to clipboard operation
big-json copied to clipboard

Outputs data indefinitely in some cases

Open C5H8NNaO4 opened this issue 1 year ago • 0 comments

I'm trying to write a ~400kb file. Sometimes (I have no idea why and when this happens) the stringifyStream never emits the 'end' event and outputs data indefinitely.

The files get as big as 300MB, I can't find a repeating pattern due to the size of the file.

Is there a null being sent in the 'data' event of the stringify stream I can use to forcefully cancel the stream?

How am I supposed to debug this? Any hints?

C5H8NNaO4 avatar Aug 17 '23 16:08 C5H8NNaO4