• Tom Thorogood's avatar
    plugin/file: Fix memory leak in Parse (#2194) · 1847ef6b
    Tom Thorogood authored
    For zone files with more than 10,000 records, the goroutines and memory
    pinned by dns.ParseZone won't be released unless the tokens chan is
    drained. As Parse is called by (*Zone).Reload very frequently, this
    causes memory leaks and OOM conditions.
    
    Updates miekg/dns#786
    1847ef6b
file.go 3.76 KB