PROF-86 Limit the number of profiled frames on the stack to prevent OutOfMemoryErrors

Merged
#3 · Created  · Last updated

Merged pull request

Merged in PROF-86-prevent-oomes (pull request #3)

e3ed531·Author: ·Closed by: ·2015-03-16

Description

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.

0 attachments

0 comments

Loading commits...