ab3900e479
There is a clumsy workaround for Darwin that chunks reads into 8kb blocks to avoid huge memory allocations. First, this fix should not only be required but on FreeBSD2.6 too (see http://bugs.python.org/issue3531). Second, decent python versions (I checked 2.6) already chunk in the SSL case anyway, so there is no need to do that again. Remove that level of indirection. http://evanjones.ca/python-memory.html claims that this problem has been fixed since python 2.5, so we might consider removing the workaround completely even for the non-SSL case. Increase the chunk size on Mac from 8kb to 64kb. Even Macs should be able to take that amount of memory usage nowadays. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de> Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net> |
||
---|---|---|
.. | ||
folder | ||
repository | ||
ui | ||
__init__.py | ||
accounts.py | ||
CustomConfig.py | ||
imaplibutil.py | ||
imapserver.py | ||
imaputil.py | ||
init.py | ||
localeval.py | ||
mbnames.py | ||
syncmaster.py | ||
threadutil.py |