Open aaronhudon opened 1 year ago
AppStateTracker is part of Change Analysis It's an extension that runs periodically to capture application changes at the file level (e.g. web.config files). Short of disabling Change Analysis for your application, I don't think there's anything you can do to fix it.
As far as I recall, the AppStateTracker fires once every 4 hours. It's not supposed to take very long. A few seconds of file scanning. It would, therefore, be a bit unusual (unusually lucky) if it shows up regularly in profiles. It could indicate that it's taking much longer than usual. Does your web site have a lot of .json files, for example?
The Change Analysis team would have to look at ways of improving this code. string.Split is at the top of the stack and that's often a bottleneck.
@aaronhudon I know it's been many months since you logged this issue, but by any chance are you still seeing it? If so, could you paste the complete stack as text? In the screen shot, the interesting parts of the AppStateTracker stack frames are cut-off.
Please advise, I am seeing a large percentage of issues being targeted at
AppStateTracerV1Controller