Author: Philip Jenvey <pjen...@underboss.org>
Branch: 
Changeset: r92485:4302fe3d912e
Date: 2017-09-27 12:41 -0700
http://bitbucket.org/pypy/pypy/changeset/4302fe3d912e/

Log:    unscientific memory pressure estimate of =~ 6k for SSL*

diff --git a/pypy/module/_ssl/interp_ssl.py b/pypy/module/_ssl/interp_ssl.py
--- a/pypy/module/_ssl/interp_ssl.py
+++ b/pypy/module/_ssl/interp_ssl.py
@@ -283,6 +283,7 @@
         sock_fd = space.int_w(space.call_method(w_sock, "fileno"))
         self.ssl = libssl_SSL_new(w_ctx.ctx)  # new ssl struct
 
+        rgc.add_memory_pressure(6 * 1024)
         self.register_finalizer(space)
 
         index = compute_unique_id(self)
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to