Are there limits on the number of evidence locks one can create with MarkedDataCreate ? Per camera ? Per system?

We have a program that creates evidence locks via the API ServerCommandServiceClient.MarkedDataCreate. Our program has been working for years without a problem but I just made a change to make one lock per sequence of video during a range of time (this can be up to several days) to preserve video instead of one lock for the entire range of time - potentially creating a lot more.

This code seems to work… but when I created a large number - about 300 - of these (our camera was flaky and created lots of holes in the video), something went wrong. We no longer were able to use the API to get a list of MarkedData for ANY camera (using MarkedDataSearch). It was fixed only when we deleted the MarkedData via the Smart Client.

I am still looking into whether I can reproduce this problem. For the moment, I am trying to find out whether there are any predefined limits on the number we can create and if so, is there a way to change these limits.

I just noticed that I miscategorized this post. It should be under protocol rather than component integration (I didn’t realize our code was using a class generated from a WSDL). I don’t see a way to edit the post.

I think I found out why I was having problems. My service was configured to receive a maximum of 65535 bytes. Somewhere between 30 and 60 MarkedData, it exceeded this limit.

Note: I would still like to know if there is a predefined limit (of course there are always resource-related limits - such as memory - but I assume these would be much larger). I am assuming our application won’t create more than 1000 per camera (and only then under exceptional circumstances - the camera I used was in an awful state and connecting/disconnecting every minute or so).

As this is not related to software development with the MIP SDK, which is the focus of this forum, please ask again in the support community, you should get better help from the partners using the support community.

https://supportcommunity.milestonesys.com