blpapi-http icon indicating copy to clipboard operation
blpapi-http copied to clipboard

Probable memory leak in native memory with subscription data

Open thmiceli opened this issue 10 years ago • 1 comments

When running the server and logging the amount of allocated physical memory by the process, the amount of javascript managed memory and CPU usage, I am seeing a steady increase in allocated physical memory while the javascript memory is stable. That seems to indicate a memory leak in native code which should be investigated. For the test I used the test-example/testSocketIO.js script with 10 clients. Note that in the graph there is a drop in CPU usage and a stabilization of memory usage, this corresponds to market close.

mem-cpu

thmiceli avatar May 06 '15 20:05 thmiceli

By the way, in the same kind of testing with request/response data, the process memory usage was stable.

thmiceli avatar May 06 '15 21:05 thmiceli