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

Carla server memory leak #47

Open
lucalazzaroni opened this issue Nov 4, 2022 · 2 comments
Open

Carla server memory leak #47

lucalazzaroni opened this issue Nov 4, 2022 · 2 comments

Comments

@lucalazzaroni
Copy link

Hi,
I am using this gym environment as a baseline for my RL project, but it seems that there are some issues with the server. The server memory usage keeps increasing then it stops returning this error:

Exception was "SIGSEGV: invalid attempt to write memory at address 0x0000000000000003"

I think this is due to the memory usage increase, but I'm not totally sure.
When I reset the episode I first stop every sensor, then destroy all of them along with the vehicles in the scene and setting their variables to None.
Any hint on this memory usage increase?
Thank you in advance for your help

@Tangzj2020
Copy link

May be your GPU have a installed problem? you can check it, I think this problem is not in gym_carla repo.

@lucalazzaroni
Copy link
Author

I think the problem lies in the Carla server build, I now build in Shipping mode using the dev branch and the memory leak seems milder even if it still persists

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

2 participants