mirror of
https://github.com/ckolivas/lrzip.git
synced 2025-12-06 07:12:00 +01:00
Round to page for optimum efficiency.
This commit is contained in:
parent
823a51cc74
commit
d2ae072a3c
1
main.c
1
main.c
|
|
@ -710,6 +710,7 @@ int main(int argc, char *argv[])
|
||||||
control.maxram = control.usable_ram / 3;
|
control.maxram = control.usable_ram / 3;
|
||||||
if (BITS32)
|
if (BITS32)
|
||||||
control.maxram = MIN(control.maxram, two_gig);
|
control.maxram = MIN(control.maxram, two_gig);
|
||||||
|
round_to_page(&control.maxram);
|
||||||
|
|
||||||
show_summary();
|
show_summary();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue