Analyzer perl-gco-ref

Name

perl-gco-ref - Perl GC Object Reference Flame Graph

This analyzer profiles memory usage by tracking garbage collection object references in Perl applications. It captures stack traces showing object allocation sites and reference chains. The analyzer generates flame graphs that visualize memory consumption patterns across different code paths, helping identify memory leaks and optimize memory usage in Perl applications.

Resource Category

Memory.

Application Type & Technical Stack

  • Perl

Command Line Syntax

The analyzer can be invoked directly on the command-line via the orxray utility from the openresty-xray-cli software package.

Alternatively, the analyzer can also be invoked manually or automatically on the web console UI of OpenResty XRay (like on the Advanced web page).

# PID is the target process PID.
orxray analyzer run perl-gco-ref -p PID

# trace a shell command directly
orxray analyzer run perl-gco-ref -c SHELL_CMD

Tracing Multiple Processes

Not supported.

Output Formats

  • Flame Graphs

Author

The OpenResty Inc. Team.

Copyright (C) by OpenResty Inc. All rights reserved.