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

System.Exception:“Frame didn't arrived within 5000 rs2_pipeline_wait_for_frames(pipe:0000024B6EC2A350)” #2845

Closed
laolaolulu opened this issue Dec 5, 2018 · 4 comments
Assignees
Labels

Comments

@laolaolulu
Copy link

Use alignment to run for a while (about 10 seconds) and then report an error. It works without alignment.

align = new Align(Intel.RealSense.Stream.Color);
var processed = align.Process(frames);

tim 20181205110419

@HippoEug
Copy link

HippoEug commented Dec 5, 2018

What firmware are you using, have you tried updating the firmware or SDK version? Is the camera detected as USB 3, and are you using the original cable whatsoever? 👍

@laolaolulu
Copy link
Author

The latest firmware, the latest sdk, USB 3.2
tim 20181205115925

@dorodnic
Copy link
Contributor

dorodnic commented Dec 5, 2018

Hi @laolaolulu
Please note that when using the .NET wrapper, any object derived from Frame has to be either:

  • Wrapped in a using(...){ } block
  • Properly released by calling .Dispose()

This is most likely the root cause, with too many frames still being in use by .NET (waiting to be garbage-collected)

@dorodnic dorodnic added the .NET label Dec 5, 2018
@laolaolulu
Copy link
Author

@laolaolulu
请注意,使用.NET包装器时,任何派生的对象Frame都必须是:

  • 包裹在一个using(...){ }街区
  • 通过电话正确释放 .Dispose()

这很可能是根本原因,.NET仍在使用太多帧(等待垃圾回收)

Sure enough, thank you!

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

No branches or pull requests

4 participants