-
Notifications
You must be signed in to change notification settings - Fork 78
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
"Warning, low memory for chosen compression settings" for small target files #234
Comments
Do not use |
Here we go:
About lrzip-next, i can't answer. I only use what my package manager (pacman) offers, which is lrzip only |
Accidentally & unintendedly closed - reopened |
It's in the
the variable |
There is a long standing issue using Level 9 that I have documented. It will always default to a 10MB block size for compression instead of maximizing what each thread can compress. I am guessing if you used |
Tested it with all levels available (from 9-1) and the warning appears anyway. The weird thing is that this warning was added recently and the language does not even make sense. If at least it would say "filesize smaller than block size" it would, but as it stands now - it is completely illogical and unnecessary. Regardless, thank you for looking into it |
[EDIT] To get max possible compression, use one thread, rzip.c
|
You may try this as a fix, although I still think
|
I've just used lrzip for the first time, and I'm also getting this warning when compressing very small files (under 8 Mb, and even one as small as 262 bytes). Yet a file of 174 Mb doesn't give the warning. |
See above post. The logic for 26,269,832 Jul 7 10:12 180MBfile.lrz |
@pete4abw — Sorry, I should have said. I didn't use |
Doesn't matter. The
|
I am using lrzip to compress database dumps in an automated way. Some of them are a few KBs, some of them are multiple GBs. lrzip recently is giving me a weird notice of "Warning, low memory for chosen compression settings" but only if the target file is small. This happens even though i am using the -U flag for compression.
I do not think this behavior is intended or logical. The machine has 64GBs of RAM, of which more than 48GBs are free. Also it happens ONLY if the target file is small ... which makes even less sense. Any ideas?
The text was updated successfully, but these errors were encountered: