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

Release host memory for distant voxel chunks #72

Open
Ralith opened this issue Apr 22, 2020 · 0 comments
Open

Release host memory for distant voxel chunks #72

Ralith opened this issue Apr 22, 2020 · 0 comments
Labels
enhancement New feature or request performance Something's slower than it should be

Comments

@Ralith
Copy link
Owner

Ralith commented Apr 22, 2020

Although we already carefully manage video memory, we currently store the original voxel data in host memory for the duration of the process. To limit memory use when exploring large areas, we should free distant chunks, and regenerate them in the rare event that they're needed again.

A straightforward approach would be storing actual voxel data in a new LRU table, indexed into by the graph.

@Ralith Ralith added enhancement New feature or request performance Something's slower than it should be labels Apr 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request performance Something's slower than it should be
Projects
None yet
Development

No branches or pull requests

1 participant