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

Why HDMap is loaded multiply times for diffrent modules #8825

Closed
wobistdu opened this issue Jun 16, 2019 · 3 comments
Closed

Why HDMap is loaded multiply times for diffrent modules #8825

wobistdu opened this issue Jun 16, 2019 · 3 comments
Assignees
Labels
Module: HD Map Indicates HD Map module related issues Type: Enhancement Indicates code improvements, feature improvements Type: Future work Indicates a feature is already in development or being worked on

Comments

@wobistdu
Copy link

For each module(planning, prediction, routing and etc), they will load a HDMap of their own, when the map is bigger, this leads to huge memory issue.
Is there any plan to change this? Use a map service or shared memory for HDMap across different modules?
Thanks

@natashadsouza natashadsouza added Module: HD Map Indicates HD Map module related issues Type: Enhancement Indicates code improvements, feature improvements labels Jun 17, 2019
@wobistdu
Copy link
Author

wobistdu commented Jun 24, 2019

@deidaraho @anyong298 @Zhenni17 Any suggestion about this? My instinct thought would be using a big shared memory block and allocate all HDMap class in the memory block, but it seems to be not a trivial change.

@xmyqsh
Copy link
Contributor

xmyqsh commented Jul 12, 2019

@wobistdu
HDMap is a big dataset. You cannot cache the whole usual database into the memory even if using redis.
Right, just like the usual database like mysql or redis, HDMap is also like a database with an octomap structure, multi-cache level empowered, to improve the cache hit rate.

@daohu527 daohu527 added the Type: Future work Indicates a feature is already in development or being worked on label Aug 18, 2022
@daohu527
Copy link
Contributor

Thanks for your advice. We will evaluate whether to add this feature and feedback soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Module: HD Map Indicates HD Map module related issues Type: Enhancement Indicates code improvements, feature improvements Type: Future work Indicates a feature is already in development or being worked on
Projects
None yet
Development

No branches or pull requests

7 participants