go-unarr
go-unarr copied to clipboard
NewArchiveFromReader OOM
NewArchiveFromReader use io.ReadAll will cause oom
Sure, it will cause OOM if the file is large and the OS does not have enough memory. That is just a convenient wrapper that reads from the reader and uses NewArchiveFromMemory. The only way to avoid this is to use NewArchive with a file.