Skip to content

Conversation

@jakobbotsch
Copy link
Member

@jakobbotsch jakobbotsch commented Mar 4, 2024

When there are many diffs we are still loading all of them into memory, and in CI this can cause OOMs in these cases. Every row becomes a dictionary that has an extra copy of all column names, and with the new metrics work there are a lot of columns. Fix the problem by projecting out just what is necessary from each row.

Should fix the superpmi-asmdiffs failures seen in #95565.

When there are many diffs we are still loading all of them into memory,
and in CI this can cause OOMs in these cases. Every row becomes a
dictionary that has an extra copy of all column names, and with the new
metrics work there are a lot of columns. Fix the problem by projecting
out just what is necessary from each row.
@ghost ghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Mar 4, 2024
@ghost ghost assigned jakobbotsch Mar 4, 2024
@ghost
Copy link

ghost commented Mar 4, 2024

Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.

Issue Details

When there are many diffs we are still loading all of them into memory, and in CI this can cause OOMs in these cases. Every row becomes a dictionary that has an extra copy of all column names, and with the new metrics work there are a lot of columns. Fix the problem by projecting out just what is necessary from each row.

Should fix the superpmi-asmdiffs failures seen in #99116.

Author: jakobbotsch
Assignees: jakobbotsch
Labels:

area-CodeGen-coreclr

Milestone: -

@jakobbotsch
Copy link
Member Author

cc @dotnet/jit-contrib PTAL @kunalspathak

@jakobbotsch jakobbotsch requested a review from kunalspathak March 4, 2024 10:06
Copy link
Contributor

@kunalspathak kunalspathak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jakobbotsch jakobbotsch merged commit ab88861 into dotnet:main Mar 4, 2024
@jakobbotsch jakobbotsch deleted the spmi-diff-examples branch March 4, 2024 14:50
@github-actions github-actions bot locked and limited conversation to collaborators Apr 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants