[tor-bugs] #4804 [EFF-HTTPS Everywhere]: ram consumption

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Wed Jan 11 00:50:29 UTC 2012


#4804: ram consumption
----------------------------------+-----------------------------------------
 Reporter:  federico              |          Owner:  pde
     Type:  enhancement           |         Status:  new
 Priority:  normal                |      Milestone:     
Component:  EFF-HTTPS Everywhere  |        Version:     
 Keywords:                        |         Parent:     
   Points:                        |   Actualpoints:     
----------------------------------+-----------------------------------------

Comment(by pde):

 We do build an in-memory data structure from all of the rulesets.  I'd be
 surprised if it were currently 100MB, since the default.rulesets file is
 only 400KB; even if the data structures were ten times the size of the
 rulesets, one would expect 4MB.

 We store a lot of compiled JS regexp objects in RAM.  Perhaps if these are
 very large, it might explain what you're seeing.  The alternative,
 perhaps, would be to only compile regexps on demand.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/4804#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list