[tor-bugs] #11791 [Tor]: Our zlib deflate objects require lots of memory per directory connection

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Aug 20 14:31:54 UTC 2014


#11791: Our zlib deflate objects require lots of memory per directory connection
-------------------------+-------------------------------------------------
     Reporter:  nickm    |      Owner:
         Type:  defect   |     Status:  new
     Priority:  normal   |  Milestone:  Tor: 0.2.6.x-final
    Component:  Tor      |    Version:
   Resolution:           |   Keywords:  tor-relay, zlib, 025-backport,
Actual Points:           |  026-triaged-1
       Points:           |  Parent ID:
-------------------------+-------------------------------------------------

Comment (by nickm):

 We could also fiddle with the memLevel parameter to deflateInit2:

 The documentation says:
 >   The memLevel parameter specifies how much memory should be allocated
 >   for the internal compression state.  memLevel=1 uses minimum memory
 but is
 >   slow and reduces compression ratio; memLevel=9 uses maximum memory for
 >   optimal speed.  The default value is 8.  See zconf.h for total memory
 usage
 >   as a function of windowBits and memLevel.

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


More information about the tor-bugs mailing list