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

D435i: memory usage increasing constantly #4332

Closed
terranas opened this issue Jul 1, 2019 · 7 comments
Closed

D435i: memory usage increasing constantly #4332

terranas opened this issue Jul 1, 2019 · 7 comments
Labels

Comments

@terranas
Copy link

terranas commented Jul 1, 2019

Required Info
Camera Model D435I
Firmware Version 05.11.01.100
Operating System & Version Win 10
Platform PC
SDK Version 2.19.0
Language C++

Issue Description

https://github.com/IntelRealSense/librealsense/blob/master/doc/d435i.md
Processing IMU sensor data according to the above, process memory (Private Bytes) has increase about 27KB/sec.
Leave it running 36 hours, memory usage keep increased and process has died.
Strangely, I got same result by more simple code.

#include <librealsense2/rs.hpp>

int main()
{
    rs2::config cfg;
    cfg.enable_stream(RS2_STREAM_GYRO);
    cfg.enable_stream(RS2_STREAM_ACCEL);

    rs2::pipeline pipe;
    pipe.start(cfg);
    getchar();
}

This looks like a memory leak to me. Is there a suspected cause?

@ev-mp ev-mp added the d435i label Jul 1, 2019
@ev-mp
Copy link
Collaborator

ev-mp commented Jul 1, 2019

@terranas hello, thank you for the report.
Seem like a possible bug. We'll look into this

@JamesPiggott
Copy link

I am having a similar issue using the Intel D415.

Required Info  
Camera Model D415
Firmware Version 05.11.06.250
Operating System & Version Ubuntu 18.04
Platform PC
SDK Version 2.24.0
Language C++

Just so we are on the same page I used the code example provided by terranas and evaluated it with Valgrind.
valgrind_report.txt

@tixidi
Copy link

tixidi commented Jul 30, 2019

I've met the same problem. Have you got any solution?

@hkooverjee
Copy link

hkooverjee commented Jul 30, 2019

Hi all, we have also experienced similar issues running the same setup @JamesPiggott used. We have also tested on Ubuntu 16.04 which gave similar results.

Also, the valgrind report @JamesPiggott attached is similar to the one in #3433.

Downgrading to SDK 2.17.1, a version we previously used, gives no memory leak.

@mbechard
Copy link

mbechard commented Aug 8, 2019

This seems to be affecting us as well. Any updates? We are on 2.19.1 but are happy to update to one where it's fixed

@RealSenseSupport
Copy link
Collaborator

@terranas This issue was fixed in the current SDK release. Could you please give it a try?

@RealSenseSupport
Copy link
Collaborator

@terranas If we don't hear from you in 7 days, this issue will be closed.

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

8 participants