<div dir="ltr"><div>Hello, I have simplest squid config with such acl:</div><div><br></div><div>acl a1 url_regex "/tmp/urls.txt"</div><div><br></div><div>In /tmp/urls.txt there are about 220 000 URL regexps, most of them in such form (example):</div><div>^(https?|ftp)://([a-z0-9.-]+\.)?nicebox\.pro(/.*)?$</div><div>OR</div><div>^(https?|ftp)://order-yudobashi-com\.363q1\.bar/</div><div><br></div><div>There are a lot of memory used by squid for such configuration: about 2GB. Without this command: about 30MB used.</div><div><br></div><div>So aprxm. 10KB for 1 regexp. Is it normal? I think it is too big..<br></div><div><br></div><div>I
 think that such big consumption is because of regexps , for simple 
strings (for example, domains or IPs) consumption will be less.<br></div><div><br></div><div>How I can decrease memory consumption for such big regexp lists in ACLs ? May be some fix in squid or some fix in regexp lists ?<br></div><div><br></div><div>Thanks.</div></div>