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

reduce memory footprint #22

Open
alaczynski opened this issue Apr 2, 2015 · 0 comments
Open

reduce memory footprint #22

alaczynski opened this issue Apr 2, 2015 · 0 comments

Comments

@alaczynski
Copy link
Member

When the same module is compiled multiple times then it significantly increases memory usage.
There are few enhancements which could be applied:

  1. For each module compilation new ModuleCollector is created to collect instruction coverage of this module instance. This could be skipped when module with same ModuleUri previously compiled is fully covered.
  2. If 1st enhancement is not enough then we can introduce configuration parameter which will control how many ModuleCollector instances of the same module (same uri) could be kept in memory. When the threshold exceeds then merging could be performed on the fly.
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