Skip to content
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

PERF: String.Substring is causing unusually high memory allocati... #55

Closed
jkalis-MS opened this issue Oct 30, 2023 · 0 comments
Closed

Comments

@jkalis-MS
Copy link
Collaborator

Description: String.Substring is causing unusually high memory allocations.

Current condition: 58% of your Memory was spent in String.Substring called from DiagService.Runners.StringOperationRunner.Run. We expected this value to be <20%.

Recommendations: Consider investigating why String.Substring is causing higher than expected memory allocations.

NOTE: We are currently working on re...

Call Stack:

Type System.String
mscorlib.ni!System.String.InternalSubString(Int32, Int32)
mscorlib.ni!System.String.Substring(Int32, Int32)
diagservice!DiagService.Runners.StringOperationRunner.Run(int32,value class DiagService.OperationEnum)
diagservice!DiagService.Controllers.MemoryController.StringSubstring(int32)
anonymously hosted dynamicmethods assembly!dynamicClass.lambda_method(pMT: 6FD30FF8,class System.Object,class System.Object[])
system.web.http!System.Web.Http.Controllers.ReflectedHttpActionDescriptor+ActionExecutor.Execute(class System.Object,class System.Object[])
system.web.http!System.Web.Http.Controllers.ApiControllerActionInvoker+d__1.MoveNext()

@glGarg glGarg closed this as completed Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants