Open
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.