Closed rdbisme closed 12 months ago
Current Behavior A clear and concise description of the behavior. Not sure it's a bug, but, I'm trying to understand why a test allocates lots of memory.
pytest --memray --memray-bin-path=. 'tests/auto-check/core/test_correlation.py::test_correlation[...]'
Then
python -m memray flamegraph --temporal 2e8a7baff95e4d8ba3eb8d06bdece836-tests-auto-check-core-test_correlation.py-test_correlation\[...].bin
and I get the following flamegraph: [redacted]
The <root> call says 800+MB, but I can't understand what is allocating that.
<root>
Input Code Unfortunately is confidential :(
Expected behavior/code A clear and concise description of what you expected to happen (or code).
I'd expect to be able to understand what is allocating these 800Mb of memory
Environment
Linux ip-172-16-11-13.xxx.el8_8.x86_64 #1 SMP Wed Jun 28 15:04:18 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Possible Solution
Additional context/Screenshots Add any other context about the problem here. If applicable, add screenshots to help explain.
--native is the answer :)
--native
Bug Report
Current Behavior A clear and concise description of the behavior. Not sure it's a bug, but, I'm trying to understand why a test allocates lots of memory.
Then
and I get the following flamegraph: [redacted]
The
<root>
call says 800+MB, but I can't understand what is allocating that.Input Code Unfortunately is confidential :(
Expected behavior/code A clear and concise description of what you expected to happen (or code).
I'd expect to be able to understand what is allocating these 800Mb of memory
Environment
Linux ip-172-16-11-13.xxx.el8_8.x86_64 #1 SMP Wed Jun 28 15:04:18 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Possible Solution
Additional context/Screenshots Add any other context about the problem here. If applicable, add screenshots to help explain.