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

edl gets OOM killed on dump if disk is too slow #616

Open
imyxh opened this issue Jan 8, 2025 · 0 comments
Open

edl gets OOM killed on dump if disk is too slow #616

imyxh opened this issue Jan 8, 2025 · 0 comments

Comments

@imyxh
Copy link
Contributor

imyxh commented Jan 8, 2025

It seems like on dump commands, or at least rl, if the connection to the device is faster than the disk write speed, a buffer grows in RAM, and if the partition being dumped is big enough this can lead to edl getting OOM killed. For example, on my laptop with ~16 GiB combined RAM+swap, I can dump userdata to my SSD, but if I try to dump to my (slower) SD card I run out of RAM.

Naively I think it would be smart to limit the RAM usage, and pause mid-dump when needed to allow the disk cache to flush.

Couldn't find a report of this with a cursory search, but apologies if I missed one.

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

No branches or pull requests

1 participant