Memory usage when accessing languages in PageData

Fixed in

EPiServer.CMS.Core 11.15.1

Created

Mar 19, 2020

Updated

May 15, 2020

Area

CMS Core

State

Closed, Fixed and tested


Description

When accessing languages in PageData, CultureInfo.GetCultureInfo(string) is called. This (temporarily) allocates memory even though it returns a cached CultureInfo. It seems that a StringBuilder is created for every call, and probably this memory is allocated.