Skip to content

Conversation

@fabianbs96
Copy link
Member

The IDESolver has been found to consume a lot of memory, most of it being intermediate results.

This PR aims at reducing the total memory overhead with two contributions:

  1. The default solver configuration no longer enables recording the ESG edges in an additional map (this feature is anyway likely to be deprecated and replaced in the future). This has to be enabled explicitly. Note: phasar-cli already disables recordEdges by default
  2. The solver results can be moved out of the IDESolver. This allows destructing the solver while retaining the solver results for subsequent analysis. To simplify the process new functions solveIDEProblem and solveIFDSProblem have been added

@fabianbs96 fabianbs96 requested a review from MMory as a code owner April 3, 2023 16:25
@fabianbs96 fabianbs96 self-assigned this Apr 3, 2023
@fabianbs96 fabianbs96 added the enhancement New feature or request label Apr 3, 2023
Copy link
Member

@MMory MMory left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks!

@MMory MMory merged commit 290f455 into development Apr 20, 2023
@MMory MMory deleted the f-ConsumeSolverResults branch April 20, 2023 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants