I usually run appstats fulltime in my sandbox app. However, I have one complicated operation (basically restoring the stock database) that causes appstats to explode my instance by throwing OutOfMemoryErrors. Even with large instance sizes, it still fails. Appstats just wants too much RAM.
I do not need appstats for this request. Ideally, I will call the method any ThreadLocal object responsible for building the appstats and tell him to trick his thumbs in a few minutes.
I considered expanding AppstatsFilter to ignore specific URLs, but a violation request executes as a deferred task and identifies it along the way a little more complicated.
How can I tell appstats to pause?
Just in case, this is unclear: downloading the version of my application with disabling appstats, launching my task, and then downloading the version with the applications turned on is what I'm doing now. I do not want to do this.
stickfigure
source share