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

parse ifc model use too many memory #73

Open
wen-bing opened this issue Apr 13, 2023 · 1 comment
Open

parse ifc model use too many memory #73

wen-bing opened this issue Apr 13, 2023 · 1 comment

Comments

@wen-bing
Copy link

When testing with the sample model:
BIMIT-Sample-Model

the model is 22MB , the parser used almost 1.2 GB memory.

Test with some real project 's model : a 93MB ifc model, the parser used almost 6GB memory, 220MB model used almose 10GB memory. according to antlr4's doc, it seems need to optimize STEP.g4 to improve the performance.

@ikeough
Copy link
Collaborator

ikeough commented Jul 17, 2023

How are you measuring this? I've got that sample model in the test set now, but I only ever run it through the unit testing framework. Might be good to add some memory tests.

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