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

Simulator High VRAM usage #880

Open
rsawtell opened this issue Apr 6, 2021 · 3 comments
Open

Simulator High VRAM usage #880

rsawtell opened this issue Apr 6, 2021 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@rsawtell
Copy link

rsawtell commented Apr 6, 2021

Recent changes seem to have greatly increased the amount of VRAM needed to run the simulator. As below, running a single robot is using a combined 5.5gb of vram across 2 processes without our code running (I only ran a single instance of the simulator). Is there any way to reduce this as it doesn't leave much room for anything else running on the system?

image

@zbynekwinkler
Copy link

Don't run the gui and you will get half of the memory back (for more detailed description of my experience see #680 (comment)).

@peci1
Copy link
Collaborator

peci1 commented Apr 6, 2021

This also depends on the world you're using and whether you use levels or not. It will also maybe depend on the robot and how much cameras does it have.

@rsawtell
Copy link
Author

rsawtell commented Apr 6, 2021

Choice of robot didn't make much difference for me, it does appear the world choice matters significantly. I'm running in final practice 1 now and the combined simulator+gui usage is only ~2.1gb (vs the 5.5gb for final qual) with the same robot I used before. I've also noticed the final qual map will freeze for a few minutes at startup as the vram is gradually allocated, so there is something in particular about that world that is contributing to high vram usage.

@nkoenig nkoenig added the enhancement New feature or request label Oct 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants