Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retained heap is 0 for all threads? #235

Open
ldorigo opened this issue Feb 26, 2025 · 0 comments
Open

Retained heap is 0 for all threads? #235

ldorigo opened this issue Feb 26, 2025 · 0 comments

Comments

@ldorigo
Copy link

ldorigo commented Feb 26, 2025

I captured a snapshot of large production backend app running under uvicorn (in a cloud container) and am trying to analyze it on my own machine. Both the web ui and the cli analyzer show 0 retained heap for every thread:

Retained heap for threads:
Thread                                             | Retained heap size
-----------------------------------------------------------------------
MainThread                                         |                  0
Thread-1 (tracing_control_thread_func)             |                  0
ThreadPoolExecutor-0_0                             |                  0
pymongo_server_monitor_thread                      |                  0
pymongo_server_monitor_thread                      |                  0
pymongo_server_monitor_thread                      |                  0
pymongo_kill_cursors_thread                        |                  0
pymongo_server_rtt_thread                          |                  0
pymongo_server_rtt_thread                          |                  0
pymongo_server_rtt_thread                          |                  0
sentry.monitor                                     |                  0
pymongo_server_monitor_thread                      |                  0
pymongo_server_monitor_thread                      |                  0
pymongo_server_monitor_thread                      |                  0
pymongo_kill_cursors_thread                        |                  0
pymongo_server_rtt_thread                          |                  0
pymongo_server_rtt_thread                          |                  0
pymongo_server_rtt_thread                          |                  0
ThreadPoolExecutor-3_0                             |                  0
sentry-sdk.BackgroundWorker                        |                  0
ThreadPoolExecutor-0_1                             |                  0
ThreadPoolExecutor-0_2                             |                  0
ThreadPoolExecutor-3_1                             |                  0
ThreadPoolExecutor-3_2                             |                  0
ThreadPoolExecutor-3_3                             |                  0
ThreadPoolExecutor-3_4                             |                  0
ThreadPoolExecutor-0_3                             |                  0
ThreadPoolExecutor-0_4                             |                  0
ThreadPoolExecutor-0_5                             |                  0
ThreadPoolExecutor-3_5                             |                  0
ThreadPoolExecutor-0_6                             |                  0
pymongo_server_monitor_thread                      |                  0
pymongo_server_monitor_thread                      |                  0
pymongo_server_monitor_thread                      |                  0
pymongo_kill_cursors_thread                        |                  0
pymongo_server_rtt_thread                          |                  0
pymongo_server_rtt_thread                          |                  0
pymongo_server_rtt_thread                          |                  0
ThreadPoolExecutor-0_7                             |                  0
sentry.profiler.ThreadScheduler                    |                  0
ThreadPoolExecutor-0_8                             |                  0
ThreadPoolExecutor-0_9                             |                  0
Thread-2 (tracing_control_thread_func)             |                  0
AnyIO worker thread                                |                  0

Additionally, when I click on the "heap" tab in the web ui; nothing happens.

Any idea what might be wrong? I'm running the version from the current main branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant