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

7 בפברואר 2012

Hi,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.  Rotem
no comments