Open sharok opened 4 years ago
@sharok thanks for rising this. could you please refresh my mind on what it does exactly? just returns a list of currently watched symbols?
usually I give the opportunity to increase the buffer size through the factory. Let me add that as well for Level1
@mathpaquette Yes, it just returns watching symbols.
Calling
ReqWatchList
produces exceptions:It happens when there are a lot of symbols. I tried 1300 options symbols. After some debugging, I figured out that the size of the buffer is not enough.
Increasing
_readBytes
solves the issue, quick fix:_readBytes = new byte[bufferSize * 3];