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 #11

Open
Prakash19921206 opened this issue Oct 21, 2019 · 1 comment
Open

Memory Leak #11

Prakash19921206 opened this issue Oct 21, 2019 · 1 comment

Comments

@Prakash19921206
Copy link

I'm using
Unity 2019.1.11f1
Azure Kinect Sensor SDK v1.1.0
Body Tracking SDK 0.9.0
CUDA v10.0
Cudnn v7.5.1.10

Once i start unity, for every second i see 100mb increase in ram usage. Quickly full 16GB ram is filled up. how to avoid this memory leak ?

@Prakash19921206 Prakash19921206 changed the title Memory Leak and high CPU usage Memory Leak Oct 21, 2019
@SethKaminski
Copy link

Texture2D tex = new Texture2D(color.WidthPixels, color.HeightPixels, TextureFormat.BGRA32, false);

It's creating a new 720p Image every frame.
This can be fixed by just adding an image to the project, setting it to then set that to the capture.Color.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants