CultureInfo.GetCultures High CPU and Memory problems under ASP.NET application with High Traffic

7 בפברואר 2012

no comments


I would like to share a problem I found when working with the class:

CultureInfo.GetCultures on ASP.NET application that has high traffic.

It look like the implementation of CultureInfo.GetCultures does not appropriate written to ASP.NET or there is a bug in code that cause to a High CPU peeks (80%-100% CPU peeks).

If you need to use this code on your ASP.NET application I would recommend to wrap the code inside a static object and not use the .NET CultureInfo.GetCultures.


Add comment
facebook linkedin twitter email

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>