PROF-86 Limit the number of profiled frames on the stack to prevent OutOfMemoryErrors
Michael Heemskerk
Branch: PROF-86-prevent-oomes
Branch: master
Merged
Merged pull request
Merged in PROF-86-prevent-oomes (pull request #3)
Merged in PROF-86-prevent-oomes (pull request #3)
We've recently run into an OutOfMemoryError where a bit of profiling was hit 900k times in a single request. This was a bug in the calling code, not in atlassian-profiler, but it would be helpful if atlassian-profiler would never include more than X elements (configurable) on its stack.