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

Use cElementTree to reduce memory consumption #173

Merged
merged 1 commit into from
Sep 30, 2024

Conversation

tautschnig
Copy link
Member

Description of changes:

Parsing CBMC's results in a memory consumption that is 100 times the size of the input file. Switching to cElementTree appears to halve the memory footprint, which can make the difference as to whether this fits into host memory. We could reduce the memory footprint a lot by iterating (and cleaning up) over the input XML nodes, but this requires a much larger re-architecting of the source.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Parsing CBMC's results in a memory consumption that is 100 times the
size of the input file. Switching to cElementTree appears to halve the
memory footprint, which can make the difference as to whether this fits
into host memory. We could reduce the memory footprint a lot by
iterating (and cleaning up) over the input XML nodes, but this requires
a much larger re-architecting of the source.
@tautschnig tautschnig merged commit 3d90803 into model-checking:master Sep 30, 2024
6 checks passed
@tautschnig tautschnig deleted the use-cElementTree branch September 30, 2024 10:16
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

Successfully merging this pull request may close these issues.

2 participants