[tor-bugs] #17925 [Tor Browser]: Investigate memory consumption of hardened Tor Browser builds
Tor Bug Tracker & Wiki
blackhole at torproject.org
Mon Jan 25 23:52:09 UTC 2016
#17925: Investigate memory consumption of hardened Tor Browser builds
--------------------------+--------------------------
Reporter: gk | Owner: tbb-team
Type: task | Status: new
Priority: Medium | Milestone:
Component: Tor Browser | Version:
Severity: Normal | Resolution:
Keywords: tbb-hardened | Actual Points:
Parent ID: | Points:
Sponsor: |
--------------------------+--------------------------
Comment (by yawning):
Part of it is most definitely a feature.
Memory that's freed is not immediately released back to the system, but
instead is put into a quarantine list to allow catching use-after-free
errors. As far as I can tell, the default quarantine size with our
current hardened build is 256 MiB.
Updating to a newer GCC will set this to `-1` per the documentation, which
I assume will lead to even more hilarity. The quarantine size is runtime
tunable, though the option name has changed between what we are currently
building with, and what the documentation describes.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/17925#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list