On Jul 18, 2005, at 18:57, Simon Edwards wrote:

I don't know if it helps you much, but since the FAQ is a bit cryptic it may
help. I've used...

ERR_remove_state()

...at the end of each thread.


Doing this.

Plus...

CRYPTO_cleanup_all_ex_data()
CONF_modules_free()
ERR_free_strings()
EVP_cleanup()

... at the end of the application.


Doing this now, but since my app is a server, it never really reaches the end, and the leaks build up during its lifetime, which I'd rather hoped could be more than a day or so. As it is now, the process' virtual memory size quickly reaches 3.5 GB, and then malloc() starts failing.

Well, thanks for your help anyway, I appreciate it.

-- Axel


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to