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

cargo-prusti on 033_unicode-normalization uses too much memory #77

Open
fpoli opened this issue Jun 23, 2020 · 2 comments
Open

cargo-prusti on 033_unicode-normalization uses too much memory #77

fpoli opened this issue Jun 23, 2020 · 2 comments

Comments

@fpoli
Copy link
Member

fpoli commented Jun 23, 2020

Running cargo-prusti on the crate 033_unicode-normalization uses too much memory.

The reason is probably that PathCtxt now has its own copy of EventLog.
When cloning EventLog, we should at least share the immutable entries of EventLog::prejoin_actions.

@fpoli fpoli added the bug Something isn't working label Jun 23, 2020
@fpoli
Copy link
Member Author

fpoli commented Jun 23, 2020

This might be solved by PR #78.

@fpoli fpoli self-assigned this Jun 23, 2020
@fpoli
Copy link
Member Author

fpoli commented Jun 23, 2020

We still do a lot of PathCtxt::clone(). See the flamegraph of a run of cargo-prusti on 033_unicode-normalization: flamegraph.html.zip.

@fpoli fpoli removed their assignment Jun 29, 2020
@fpoli fpoli mentioned this issue Jul 3, 2020
@fpoli fpoli removed the bug Something isn't working label Mar 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant