Closed UnderKoen closed 2 months ago
Closes an memory leak.
When combing many large PDF's the memory usage is through the roof.
By creating an new buffer instead of an view the reference to the orginal buffer is removed and can be picked up on garbage collection.
No
N/A
After some more testing I don't think this is the solution to the problem. When an Buffer (Node) is supplied this is an issue because Node slice returns an view.
slice
What?
Closes an memory leak.
Why?
When combing many large PDF's the memory usage is through the roof.
How?
By creating an new buffer instead of an view the reference to the orginal buffer is removed and can be picked up on garbage collection.
Testing?
New Dependencies?
No
Screenshots
N/A
Suggested Reading?
No
Anything Else?
Checklist