Skip to content

Commit df35616

Browse files
authored
Merge pull request DataDog#9215 from DataDog/jbachorik-patch-1
Add section for remedying OldObjectSample overhead
2 parents 68b18a1 + 0afb239 commit df35616

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

content/en/tracing/profiler/profiler_troubleshooting.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,16 @@ jdk.ObjectAllocationOutsideTLAB#enabled=false
3434

3535
[Learn how to use override templates.](#creating-and-using-a-jfr-template-override-file)
3636

37+
## Memory leak detection slowing down garbage collector
38+
39+
To turn off memory leak detection, disable the following event in your `jfp` [override template file](#large-allocation-events-overwhelming-the-profiler):
40+
41+
{{< code-block lang="text" filename="example-template.jfp" >}}
42+
jdk.OldObjectSample#enabled=false
43+
{{< /code-block >}}
44+
45+
[Learn how to use override templates.](#creating-and-using-a-jfr-template-override-file)
46+
3747
## Exceptions overwhelming the profiler
3848

3949
The Datadog exception profiler has a small footprint and overhead under normal conditions. If a lot of exceptions are created and thrown, it can cause significant overhead for the profiler. This can happen when you use exceptions for control flow. If you have an unusually high exception rate, turn off exception profiling temporarily until you fix the cause.

0 commit comments

Comments
 (0)