Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory leak when starting IMU #1230

Open
oilst opened this issue May 28, 2020 · 6 comments
Open

Memory leak when starting IMU #1230

oilst opened this issue May 28, 2020 · 6 comments
Assignees
Labels
Bug Something isn't working

Comments

@oilst
Copy link

oilst commented May 28, 2020

When starting the IMU with
_device.StartImu();
the memory consumption increases steadily. As soon as I stop the imu with
_device.StopImu();
the memory consumption does not increase anymore.

Expected behavior
Starting the Imu should not create a memory leak.

Desktop:

  • OS with Version: Windows 1903
  • SDK Version: 1.4.0
  • Firmware version:
    RGB camera firmware: 1.6.98
    Depth camera firmware: 1.6.70
    Depth config file: 6109.7
    Audio firmware: 1.6.14
@oilst oilst added Bug Something isn't working Triage Needed The Issue still needs to be reviewed by Azure Kinect team members. labels May 28, 2020
@qm13 qm13 added More Info Needed More information is required before this issue can be approved and removed Triage Needed The Issue still needs to be reviewed by Azure Kinect team members. labels Jun 1, 2020
@qm13
Copy link
Collaborator

qm13 commented Jun 1, 2020

Could you please provide more precise repro steps? Is this C/C++ or C#?
Are you running one of the samples?
What tool are you using to monitor memory leakage?
Did you wait long enough for queue stabilization (wait beyond 15 seconds)?

@qm13 qm13 assigned qm13 and sheldenwade and unassigned qm13 Jun 1, 2020
@oilst
Copy link
Author

oilst commented Jun 2, 2020

Steps to reproduce:

@qm13 qm13 assigned qm13 and unassigned sheldenwade Jul 11, 2020
@qm13 qm13 added Investigating Dev team needs to Investigate and removed More Info Needed More information is required before this issue can be approved labels Jul 11, 2020
@DirkKramer
Copy link

Same issue on my side

@Vangos
Copy link

Vangos commented Oct 6, 2020

The issue is also occurring in C# and Unity3D. You can reproduce it easily:

Unity3D

  • Start any Kinect Unity application.
  • Open the Profiler.
  • Select Memory.
  • Take a sample.

On some computers, ManagedHeap.UsedSize reaches 1 GB within a few seconds and keeps growing. Also, you'll notice that the Task Manager's memory consumption is increasing.

@kimjetam
Copy link

kimjetam commented May 14, 2021

I discovered this issue too, with nuget package Microsoft.Azure.Kinect.Sensor 1.4.1. Are there going to be an update in the future @qm13 ?

@qm13 qm13 removed the Investigating Dev team needs to Investigate label Aug 16, 2021
@gregorijk
Copy link

This is still an open issue. I've just spent couple of hours trying to find a memory leak in my code and it turned out to be this bug related to the IMU. :(

@qm13 qm13 assigned dasparli and unassigned qm13 May 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

8 participants