kiwi
kiwi copied to clipboard
in the node environment The execution of decodeMessage leads to a memory overflow
node versions:18+
Scene:
- in node environment
- When reading large files, call decodeMessage for reproduction
how should i solve it?
How to solve it depends on a lot of things having to do with your situation. You could try allowing more memory to be used: https://nodejs.org/en/learn/diagnostics/memory/understanding-and-tuning-memory#--max-old-space-size
I did do it this way, but is there a file size limit during parsing? Now it seems that files over 500M are sent, causing this problem