Skip to content

Conversation

@tungnk123
Copy link
Contributor

This PR addresses a critical OutOfMemoryError (OOM) issue encountered when handling large file allocations within the application. The primary change involves replacing the existing method of reading file contents directly into memory using readText() with a more efficient streaming approach via the copyToFile function. This enhancement ensures that the application manages memory more effectively, thereby improving stability and performance when processing large files.

@oxyroid oxyroid merged commit a0e774b into oxyroid:master Dec 1, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants