http://bugzilla.spamassassin.org/show_bug.cgi?id=4075
Summary: DBBasedAddrList->remove_entry: massive memory leak
Product: Spamassassin
Version: 3.0.2
Platform: All
OS/Version: All
Status: NEW
Severity: critical
Priority: P3
Component: Libraries
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
On line 166 in DBBasedAddrList.pm (sub remove_entry), "keys %{$self->{accum}}'
is used; this leads to ALL keys from the autowhitelist DB to be temporarily
stored in RAM at once, and with big DB files (160 MB in our case) to a SA
process memory consumption of 400MB or more.
The 'keys' construction is easily replaced by 'each', which works on the keys
one-by-one and doesn't impact the memory footprint at all.
A patch is included.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.