-
Notifications
You must be signed in to change notification settings - Fork 25
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
Cannot allocate memory on M1 using higher compression levels #39
Comments
% zpaqfranz a a.zpaq ../all.tar -m5 -debug |
I do not have a M1, but we can make some tests |
56_2c.zip |
Here is the updated output:
|
Same for me.
Same error even on very small files 👀 |
By compiling with
It's working very-very slow, so Im using 10MB archive instead:
|
On non Intel CPUs (better on anything not amd64 and x86 with SSE2) -DNOJIT is mandatory The embedded jit translate zpaql code into intel machine code, just like a java jit compiler On M1 or PPC or whatever else this cannot work, and a full software interpretatio (NOJIT) is needed Turning back to high memory allocation it is possible to use parameters that need too much ram. The deployed release throw an error. The pre release should say how much ram is trying to allocate (then abort) Please note that m5 is about a placebo level compression, not good for big file For normal backups (aka: backup of home or virtual machine or whatever) the default (m 1) is good. For a bit more compression use m 2 (just as fast in extraction) Short version: you must see NOJIT and not JIT near version info (the very first line of the oputput) With autotest you can check almost everything, except ram too small |
Can eat up much more RAM :) RAM usage is made by two parameters (in fact it is much more,say the two main) You should really read the source (!) Short version: yes, it is normal to need huge amount of RAM in this case. |
If you want please leave a review on |
The text was updated successfully, but these errors were encountered: