#1036736 tre-agrep reports out of memory despite plenty of swap

Package:
tre-agrep
Source:
tre-agrep
Description:
approximate grep utility based on the tre library
Submitter:
Al Ma
Date:
2023-05-25 01:09:04 UTC
Severity:
normal
#1036736#5
Date:
2023-05-25 01:07:00 UTC
From:
To:
Package: tre-agrep
Version: 0.8.0-6+b1
How to reproduce:
1) Download a Windows 11 installation .iso for test purposes
2) run `tre-agrep --color -i -1 Maschineneigenschaft` on this file
3) Observe “Out of memory” although plenty of swap is present.
Log:
$ free -h
total        used        free      shared  buff/cache   available
Mem:            31Gi       3.8Gi       3.5Gi       540Mi        23Gi        26Gi
Swap:           14Gi          0B        14Gi
$ ls -lh Win10_21H1_German_x64_2021-06-25.iso
… 5.5G Apr 14 2021 Win10_21H1_German_x64_2021-06-25.iso
$ tre-agrep --color -i -1 Maschineneigenschaft Win10_21H1_German_x64_2021-06-25.iso
tre-agrep: Out of memory