-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
P2A bug or feature request we're likely to work onA bug or feature request we're likely to work onarea-dart-modelFor issues related to conformance to the language spec in the parser, compilers or the CLI analyzer.For issues related to conformance to the language spec in the parser, compilers or the CLI analyzer.type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)type-performanceIssue relates to performance or code sizeIssue relates to performance or code size
Description
Steps:
- Open analysis_options.yaml
- Change it, save and wait for reanalysis
- Repeat several times
I think there is something leaking after the project is reanalyzed as I'm observing increased memory consumption that does not go away (and it took around 10 updates to get to 1.4GB for me):

The above result is for when I tried to prepare a repro, and the next one is one of my last observations:

On a restart the project takes ~700 MB. Also note that no other code was changed during the restarts, only the analysis_options.yaml config.
Dart SDK version: 3.5.1 (stable) (Tue Aug 13 21:02:17 2024 +0000) on "macos_arm64"
tenhobi, KristijanZic and FMorschel
Metadata
Metadata
Assignees
Labels
P2A bug or feature request we're likely to work onA bug or feature request we're likely to work onarea-dart-modelFor issues related to conformance to the language spec in the parser, compilers or the CLI analyzer.For issues related to conformance to the language spec in the parser, compilers or the CLI analyzer.type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)type-performanceIssue relates to performance or code sizeIssue relates to performance or code size