Hello, Good Night.
I am a student of Masters in Unicamp - Brazil.
I am using the class of BN openssl. My program is consuming all the memory
(3 GB), up to failure of segmentation, after much debugging, discovering
that when you use the BN_bn2dec (char * BN_bn2dec (const BIGNUM * a)) is the
memory of the computer used for this operation but is not released. That is,
this operation is memory consuming, but is not releasing. Use other
functions (BN_nnmod, BN_hex2bn, BN_CTX_init), but these showed no problem. I
am working with hash functions, and only noticed the problem when I went
from 1 million to 8 million entries, it was when it started to failure of
segmentation, then moved to analyze the memory.


Carlos Macapuna

-- 
Carlos Macapuna
www.macapuna.com.br
macap...@{macapuna.com.br, dca.fee.unicamp.br}
Linux for human beings

Reply via email to