Page MenuHomeFreeBSD

Limit memory usage in xz(1).
ClosedPublic

Authored by delphij on Feb 3 2020, 1:03 AM.
Tags
None
Referenced Files
F168227156: D23474.diff
Thu, Aug 27, 1:19 AM
F168161147: D23474.diff
Wed, Aug 26, 4:06 PM
F168108460: D23474.id.diff
Wed, Aug 26, 10:33 AM
Unknown Object (File)
Tue, Aug 25, 11:29 AM
Unknown Object (File)
Mon, Aug 24, 10:07 PM
Unknown Object (File)
Mon, Aug 24, 4:41 AM
Unknown Object (File)
Sun, Aug 16, 9:52 AM
Unknown Object (File)
Fri, Aug 14, 5:46 AM
Subscribers

Details

Summary

Limit memory usage in xz(1) instead of in tuklib.

Apply upstream 353970510895f6a80adfe60cf71b70a95adfa8bc to
limit memory usage on 32-bit binary to 4020 MiB.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 29117
Build 27057: arc lint + arc unit

Event Timeline

bcr added a subscriber: bcr.

OK from manpages.

kib added a subscriber: pho.

I am fine with bringing the upstream fix. I added Peter so that he can confirm that the issue reported by him does not re-appear.

This revision is now accepted and ready to land.Feb 3 2020, 6:23 PM

I tested this patch on i386 with 8 GB RAM and hw.physmem: 4294963200
LGTM.