-
Notifications
You must be signed in to change notification settings - Fork 314
Closed
Description
Hello,
I have a question about an internal class in
https://github.com/dotnet/corefx/blob/6977dddc03f8263ad82228558eb9b02e2e6f530c/src/System.Data.SqlClient/src/System/Data/SqlClient/SqlInternalConnectionTds.cs.
As shown in image below Session.Reset() call is one of main contributors to memory allocations:
I've tried to search over internet what can cause this class , but not luck.
Is it possible someone to say when public const byte FEATUREEXT_SRECOVERY = 0x01;
was set as it obviously triggers
`if (_deltaDirty)
{
_delta = new SessionStateRecord[_maxNumberOfSessionStates];
_deltaDirty = false;
}` case.
Also is it possible to replace this array with a list as making 256 SessionStateRecord objects seems a bit too much for me.
Metadata
Metadata
Assignees
Labels
No labels