You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is loading a periodic table, but running many GCs:
[riodictablemaui] Explicit concurrent copying GC freed 933(127KB) AllocSpace objects, 31(4092KB) LOS objects, 49% free, 4423KB/8846KB, paused 1.328ms,169us total 33.513ms
[riodictablemaui] Explicit concurrent copying GC freed 722(46KB) AllocSpace objects, 0(0B) LOS objects, 49% free, 4581KB/9162KB, paused 1.856ms,170us total 14.835ms
[riodictablemaui] Explicit concurrent copying GC freed 641(43KB) AllocSpace objects, 1(108KB) LOS objects, 49% free, 4525KB/9050KB, paused 1.420ms,176us total 14.112ms
[riodictablemaui] Explicit concurrent copying GC freed 619(41KB) AllocSpace objects, 0(0B) LOS objects, 49% free, 4579KB/9158KB, paused 1.263ms,173us total 13.825ms
[riodictablemaui] Explicit concurrent copying GC freed 483(29KB) AllocSpace objects, 0(0B) LOS objects, 49% free, 4630KB/9260KB, paused 1.379ms,171us total 14.170ms
... repeats many more times
I would like to investigate this sample on the .NET side, and understand who's allocating so much. I'm able to investigate allocations using Android Studio on the JVM side:
I tried using dotnet-trace --profile gc-verbose, but it doesn't look like GC-related events work on the Mono runtime.
I was looking here, maybe some GC events work, and there is a way this might work currently?
Background and Motivation
I'm looking at a .NET MAUI sample on Android:
It is loading a periodic table, but running many GCs:
I would like to investigate this sample on the .NET side, and understand who's allocating so much. I'm able to investigate allocations using Android Studio on the JVM side:
I tried using
dotnet-trace --profile gc-verbose
, but it doesn't look like GC-related events work on the Mono runtime.I was looking here, maybe some GC events work, and there is a way this might work currently?
Proposed Feature
What I would like is some report:
Usage Examples
I think ideally,
dotnet-trace --profile gc-verbose
would work to align with this existing doc on CoreCLR:The text was updated successfully, but these errors were encountered: