-
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-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.devexp-serverIssues related to some aspect of the analysis serverIssues related to some aspect of the analysis servertype-enhancementA request for a change that isn't a bugA request for a change that isn't a bug
Description
Hi! As discussed w/ @scheglov and @bwilkerson previously:
We'd like a command-line flag for the analysis server to moderate its memory use. The intended use of it would be for the dartpad backend. Its running in a container environment; some useful details:
- we have a fixed size of the memory for the container; less memory usage means we could run more instances of the analysis server. this would help with scaling the backend
- the file system is ram based, so any writes to disk take up memory (this is relevant in the context of the summary / byte store)
The flag might do something like disable the byte store (currently set to max of 1GB I believe?) and reduce or eliminate the summary memory cache? But generally, it would be useful to have a lower memory mode (and no disk cache mode) for use by dartpad.
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-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.devexp-serverIssues related to some aspect of the analysis serverIssues related to some aspect of the analysis servertype-enhancementA request for a change that isn't a bugA request for a change that isn't a bug