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

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Wed Jan 11 01:48:11 UTC 2012


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

Comment(by pde):

 Revised estimate: we actually only use about 38MB at startup.  Of this,
 about 11MB appears to be free()d memory that gets garbage collected:
 watching for a while, I saw the RSS fall back to about 27MB more than a
 stock Firefox.

 Replacing RegExp objects with a dummy object type seemed to only save
 about 1MB.  Objects like rule_store.rulesetsByID and
 rule_store.rulesetsByName seem to use about 1MB each.

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


More information about the tor-bugs mailing list