http://qs1969.pair.com?node_id=1176334


in reply to SSL connect error

ssl3_setup_read_buffer:malloc failure
Any idea what might cause the error?

Insufficient memory available. Your code probably has a memory leak.

Replies are listed 'Best First'.
Re^2: SSL connect error
by lmocsi (Novice) on Nov 23, 2016 at 08:44 UTC
    You must be right, checking by task manager I see ever increasing memory usage.
    I've included the code. But where is it leaking?

      Hello lmocsi,

      Maybe some monk will be able to find the memory leak analytically (by examining your code).

      But in the meantime I recommend you experiment with a module such as Test::LeakTrace to find the leak empirically (or at least narrow down the search area).

      Hope that helps,

      Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,