Skip to content

Re #167719. Avoid heap operations when dealing with large files. - #193309

Merged
Peng Lyu (rebornix) merged 1 commit into
mainfrom
rebornix/key-emu
Sep 18, 2023
Merged

Peng Lyu (rebornix) merged 1 commit into
mainfrom
rebornix/key-emu

Conversation

@rebornix

Copy link
Copy Markdown
Contributor

Add checks for if the text buffer is too large and we should avoid operations like getValue, getLinesContent to prevent OOM crashes.

@alexdima Alexandru Dima (alexdima) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@rebornix
Peng Lyu (rebornix) merged commit 90854de into main Sep 18, 2023
@rebornix
Peng Lyu (rebornix) deleted the rebornix/key-emu branch September 18, 2023 20:02
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants