commit | 114d698fdeb53c73734df16e68828154fbc1527e | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Nov 03 15:55:35 2020 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Thu Nov 05 19:27:08 2020 +0100 |
tree | acaf377c679c8e5885d29d26d12ace971262f7a3 | |
parent | 88366c2926deac5ee257b6c541633b6a8b5111b3 [diff] |
MEDIUM: pattern: call malloc_trim() on pat_ref_reload() This is one case where we may release large amounts of data at once. Tests show that without this, after 10 full reloads of an ACL containing 1M IP addresses, the memory usage grew and stabilized around 1.7 GB of RSS. With this change, it stays around 260 MB and is stable across reloads.