Closed
Description
Looking at some 3.0 memory profiles, it seems as though the event source logger we added by default in 2.2 increases the amount of pressure we put on the GC.
This application made ~67000 requests:
These are the top per request allocations (by size):
The boxed Int32
, the Object[]
, the KeyValuePair<string, string>[]
, the List<KeyValuePair<string, string>>
the EventSource.EventSourceLogger+ActivityScope
all come from the EventSourceLogger and the LoggingEventSource.
Here a view from the allocation callsites:
We need to investigate this and avoid this many allocations.
cc: @pakrym
Metadata
Metadata
Assignees
Labels
No labels