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

Enormous memory usage #62

Open
eSqadron opened this issue Feb 27, 2024 · 1 comment
Open

Enormous memory usage #62

eSqadron opened this issue Feb 27, 2024 · 1 comment

Comments

@eSqadron
Copy link

Trying to open this model, blender got stuck in "not responding" and memory usage was between 10 and even 14GB. This lasted for around 15 minutes, and I decided to kill blender.

Windows 10
16GB RAM
Intel Core 17-4790K
Nvidia Geforce GTX970

3mf importer version: 1.0.2
Blender Version: 4.0.2

@Ghostkeeper
Copy link
Owner

This is somewhat logical, since the model file is 1.7GB when unzipped, and Python's ElementTree module has trouble loading anything greater than 600MB or so.

Usual solutions would be to use a performant C module like lxml. However that's not possible since lxml is not in the Python environment provided by Blender. However it could still be solved by using iterparse on the ElementTree. That'll be a bit of a rewrite though, but would be a lot better for memory usage.

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