diff options
author | Stan Hu <stanhu@gmail.com> | 2019-01-18 03:59:24 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2019-01-24 22:19:15 +0300 |
commit | 007e47198ee4ee3c1ac42fcebfe48ec344b6b127 (patch) | |
tree | 2057405efb797b4510510e4b74d75048a6564f8a | |
parent | 9841872ef8ae4f5b3ec50fa1a7016b1cd4816be8 (diff) |
Support rbtrace and ObjectSpace via environment flags
rbtrace and ObjectSpace are essential to debugging memory
issues in Ruby. Both will be disabled by default.
1. rbtrace allows us to send commands (e.g. request a heap dump) to an
already running gitaly-ruby process. It can be used safely in production.
2. ObjectSpace: Enabling object allocations tracing will allow us to see
what is consuming a significant amount of memory.
0 files changed, 0 insertions, 0 deletions