IMPORTANT: memory snapshots should not be requested from external users because they may contain PII.
If a user reports that the process analysis_server_aot.dart.snapshot takes too much memory, and the issue is hard to reproduce, you may want to request memory snapshots from the user.
Ask user to provide memory footprint for the process analysis_server_aot.dart.snapshot. If there are many instances of the process, ask for the biggest memory footprint among the instances.
Based on the reported and expected values, construct auto-snapshotting argument. See example in the test file, the constant _autosnapshottingArg.
See explanation of parameters in documentation for AutoSnapshottingConfig.
Pass the created argument to the user and instruct them to configure analyzer.
Dart: Analyzer Additional ArgsAsk user to provide the collected snapshots and analyze them.
TODO (polina-c): link DevTools documentation