Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix connection timeout when add a large m3u playlist file #216

Merged

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