Hi,
tested the pub/sub parts of your lib and found possible a memory leak in xRedisClient::GetReply().
the reply object is not freed when GetReply() returns.
I made a threaded pub/sub application with 200 pub threads and it crashed quite quickly on a low-memory linux system.
When I add the following code snippet it works for hours:
Hi, tested the pub/sub parts of your lib and found possible a memory leak in xRedisClient::GetReply().
the reply object is not freed when GetReply() returns. I made a threaded pub/sub application with 200 pub threads and it crashed quite quickly on a low-memory linux system.
When I add the following code snippet it works for hours:
Used the pub/sub implementation from your test implementation. br