[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #11791 [Tor]: Our zlib deflate objects require lots of memory per directory connection
#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs