Hello everyone,
For our current project in my company we decided to use Leap Motion in order to get Infra Red images and analyze data with them, we have achieved our goals and the detection works perfectly fine, the problem comes from the requirement for obtaining those images.
In order to recieve images we must:
Subscribe to the event Images ready ->
controller.ImageReady += OnImageReady;
Set the correct policy ->
controller.SetPolicy(Controller.PolicyFlag.POLICY_IMAGES);
On activating the policy, the memory leak begins, no other data affects this result. Removing this line provokes the memory leak to disappear but the images will not arrive.
This code has been isolated and memory is rising more than 2 GB per minute.
We would really appreciate if someone can tell us where we are wrong or how to correct this!