-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Heapsnapshot has some unrooted objects #52432
Comments
(@JianFangAtRai from RAI is going to look into this this month.) |
vscode just added a built-in Perhaps this issue is related? |
Are the sizes of the two files equal or close? Could the file size be an issue here? |
#52618 didn't fix the vscode viewer hang unfortnately File sizes:
Asked upstream at microsoft/vscode#199239 (comment) both files validate in jsonlint.com Headers:
Chrome's
|
Seems worth looking into. Thanks for the report, Ian! Can you please move
this into a separate ticket so we can track it even after Jian's PR closes
this issue?
Maybe we should also open a ticket on the VSCode repo with one of the
snapshot files, since Chrome can load it just fine?
Thanks!
…On Sat, Dec 30, 2023, 5:32 PM Ian Butterworth ***@***.***> wrote:
#52618 <#52618> didn't fix the
vscode viewer hang unfortnately
File sizes:
- from a fresh julia session: 175 MB (hangs indefinitely)
- from a chrome webpage: 5 MB (renders instantly)
—
Reply to this email directly, view it on GitHub
<#52432 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAMCIELFWTSPHGJ7DPCTHELYMCXABAVCNFSM6AAAAABAKDMS42VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZSGYZTMMBSGU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Will do. So #52618 should have closed this issue? |
I think so, yeah! 👍 Lemme add that to the PR description. |
Ah, @JianFangAtRai even already had it in PR description already:
I think it just didn't get picked up by GitHub's automations. Closing this ticket now. Thanks again Jian! |
The heapsnapshots seem to be missing either some edges or maybe some roots, or maybe both, but somehow many objects end up not retained by any roots, which is of course nonsense, since they couldn't have been exported if they're not reachable from a root (since unrooted things are garbage).
You can see that in this simple repro:
1.11.0-DEV.638.heapsnapshot.zip
You can see in the screenshot that the roots are only retaining 87% of the heap snapshot. (in another attempt, i got only 5,000 bytes out of 120 MB!)
And you can see here that one random object has retainers that don't terminate in a root:
From randomly clicking around so far, it seems to often be Arrays that aren't parented, and so i wonder if we're missing some edge somewhere for arrays?
The text was updated successfully, but these errors were encountered: