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

推理时,内存会一直增加 #15

Open
CXT-666 opened this issue Jul 22, 2024 · 7 comments
Open

推理时,内存会一直增加 #15

CXT-666 opened this issue Jul 22, 2024 · 7 comments

Comments

@CXT-666
Copy link

CXT-666 commented Jul 22, 2024

No description provided.

@CXT-666 CXT-666 changed the title 吧、 推理时,内存会一直增加 Jul 22, 2024
@CXT-666
Copy link
Author

CXT-666 commented Jul 22, 2024

推理自己bag时,bag时间足够长,内存就会增加到100%

@HaynesLi
Copy link

HaynesLi commented Aug 6, 2024

how could you run it. Based on Ros2?

@leizi111
Copy link

您好,我也遇到了同样的问题,请问一下这个问题您这边解决了吗

@CXT-666
Copy link
Author

CXT-666 commented Dec 13, 2024 via email

@leizi111
Copy link

释放一下点云和图像的内存

---原始邮件--- 发件人: @.> 发送时间: 2024年12月13日(周五) 下午4:27 收件人: @.>; 抄送: @.@.>; 主题: Re: [linClubs/BEVFusion-ROS-TensorRT] 推理时,内存会一直增加 (Issue #15) 您好,我也遇到了同样的问题,请问一下这个问题您这边解决了吗 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

好的,谢谢佬~

@sunshine411
Copy link

std::vector<unsigned char *> images;
load_images(img_f, img_fr, img_fl, img_b, img_bl, img_br, images);


for (auto pt : images){
free(pt);
}

我修改了这里,解决了绝大部分问题,其他都是一些比较明显的变量的内存清理。

@linClubs
Copy link
Owner

std::vector<unsigned char *> images; load_images(img_f, img_fr, img_fl, img_b, img_bl, img_br, images);

for (auto pt : images){ free(pt); }

我修改了这里,解决了绝大部分问题,其他都是一些比较明显的变量的内存清理。

yyds!

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

5 participants