Skip to content

Reading message and decrypting with stream giving JavaScript heap out of memory #1745

Answered by larabr
GJakobi asked this question in Q&A
Discussion options

You must be logged in to vote

You are reading the file incorrectly: since it's armored data, you need to pass { encoding: 'utf8' } to createReadStream

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@GJakobi
Comment options

Comment options

You must be logged in to vote
1 reply
@GJakobi
Comment options

Answer selected by GJakobi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants