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

Issue for Memory (String.Substring is causing unusually high memory allocati...) #237

Open
jkalis-MS opened this issue Oct 23, 2023 · 0 comments

Comments

@jkalis-MS
Copy link
Member

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

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

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()

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

1 participant