-
Notifications
You must be signed in to change notification settings - Fork 397
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
Slow run and error generating flamegraph #163
Comments
I believe I see the bug. Are you able to check whether removing or commenting out line 23 of |
Scratch that, I don't think that's it... I'm still trying to see how we could have gotten that error. |
Nope, I was right the first time. That is the cause, and removing line 23 does fix it. The steps for reproducing this locally were just much more complicated than I thought they'd be, but I eventually managed to figure out how to do it, and to confirm that removing that line fixes the problem. |
As for slowness, was your run on your laptop using |
I installed and ran your fix (PR #164) and apparently the flamegraph bug is fixed. Also, I don't know if it's because I had to recompile the C stuff myself, but it's also running way faster (comparable to my laptop). Thanks for the fix! |
Fix landed on main, and will be included in the next release. Thanks for the report! |
Bug Report
Current Behavior Running memray on a HPC cluster took several hours, when the same input runs in minutes on my laptop. After the run finally finished, I got the following error trying to generate the flamegraph:
Input Code
Expected behavior/code I expected to run memray in about the same time it takes on my laptop, and in the end get a flamegraph.
Environment
Extra information
memray table
runs, giving the following output:memray-table-hymd.78911.zip
The text was updated successfully, but these errors were encountered: