Memory leak in MIPSDK 2018 R1 application.

I am using MIPSDK 2018 R1 and I found a memory leak in the application I developed using it. I was referencing ExportSample and CameraStreamResolution sample and I found similar leaks in those too.

I went through few articles about memory leak here and it could well be one of those but its for the older version.

I have attached my system details and memory screen shot. Please let me know if a hotfix installer would work.

What kind of export are you doing?

I would suspect maybe the Milestone format export to be different compared to the other methods, please explain in detail what you do.

Does the graph show two exports?

Please also out-line what camera you are using and what codec it is setup to use.

I am exporting videos into mkv format and I use MKVExporter for this . I got the camera search mechanism from CameraStreamResolution sample and export mechanism from Export Sample. The generation happens successfully but I see that the memory is not getting released after each export. So I decided to check the memory footprint of the SDK samples as well.

The above screenshots are the memory footprints of CameraStreamResolution(1st graph) and Export sample(2nd graph) using Ants where you can see that the memory is not released.

Yes, the export sample graph is for two exports and both times the memory is not released.

I am using HikVision DS-2CD2620F-IS camera and uses H.264.

Were you able to reproduce the issue?

Yes, and there is now an investigation at the Milestone Development. Hopefully I will soon have news to tell.

Milestone Development was able to locate the leak. In MIP SDK 2018R3 a fix will be implemented.

(Edited and version number corrected.)

When is the release for MIP SDK 2013R3 scheduled?

Ups. MIP SDK 2018R3 -NOT 2013 :slight_smile:

There is no scheduled release date yet. I will most likely release in October or November.

oh ok. Can I use SDK 2017 with 2018 xprotect server?

Yes.

The general message on versions is in this knowledge base article - https://developer.milestonesys.com/s/article/about-MIP-SDK-compatibility-with-XProtect-product-versions

I am trying to download SDK 2017 but everywhere there is only 2018R1. Could you please share me the download path for SDK 2017?