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

Fix memory usage becomes very large when loading STL files #987

Open
adamkewley opened this issue Jan 23, 2025 · 0 comments
Open

Fix memory usage becomes very large when loading STL files #987

adamkewley opened this issue Jan 23, 2025 · 0 comments

Comments

@adamkewley
Copy link
Collaborator

Bug from upstream: simbody/simbody#798

The new normals/texture coordinates implementation does not correctly accumulate normals data during STL loading, which results in an algorithm that adds N1, then (N1,N2), then (N1,N2,N3), and so on for each vertex, which makes the collection grow quadratically and blow up ram (internal tests show (e.g.) that loading a basic model uses 15 GB of RAM).

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

1 participant