HKUST-Aerial-Robotics / VINS-Fusion

An optimization-based multi-sensor state estimator
GNU General Public License v3.0
3.32k stars 1.36k forks source link

我启动vins后内存一直在增加直到占满,是不是哪里没写好内存溢出了啊? #212

Open yst-one opened 1 year ago

ZW-PRO commented 6 months ago

Have you solved this problem?

JanekDev commented 4 months ago

@ZW-PRO any updates on the problem? I have some minor observations, so we could possibly exchange info and work something out?

ZW-PRO commented 4 months ago

@ZW-PRO any updates on the problem? I have some minor observations, so we could possibly exchange info and work something out?

Yes. I'm running VINS in ros2 and I've noticed that when I limit the size of the queue in the img0_callback() function, the memory doesn't increase anymore, but I guess this can cause issues like image loss. The probable reason is that the image processing speed in the queue cannot keep up with the image speed of the incoming queue.