Exception in template (Designs/Fusion/_parsed/HomePage.parsed.cshtml): System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at CompiledRazorTemplates.Dynamic.cefccdbcdaaf.Execute()
   at RazorEngine.Templating.TemplateBase.RazorEngine.Templating.ITemplate.Run(ExecuteContext context)
   at RazorEngine.Templating.TemplateService.Run(ITemplate template, DynamicViewBag viewBag)
   at RazorEngine.Templating.TemplateService.Parse(String razorTemplate, Object model, DynamicViewBag viewBag, String cacheName)
   at RazorEngine.Razor.Parse[T](String razorTemplate, T model, String cacheName)
   at Dynamicweb.Rendering.Template.Output()
<!DOCTYPE html> <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> <!--[if gt IE 8]> <html class="no-js"> <![endif]--> <head> @{ var DisplayOptions = ""; if (!string.IsNullOrEmpty(GetString("Item.Page.DisplayOptions"))){ DisplayOptions = (GetString("Item.Page.DisplayOptions") == "wide") ? "container-wide" : ""; } } @* <!-- <meta name="description" content="Description">--> *@ <title>@GetValue("Title")</title> @GetValue("MetaTags") @GetValue("CopyRightNotice") <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> @foreach (LoopItem i in GetLoop("Item.Area.Groups") ){ if (i.GetString("Item.Area.Group.Name") == "Header"){ foreach (LoopItem j in i.GetLoop("Item.Area.Group.Fields")){ <meta name='@j.GetString("Item.Area.Field.Name")' content='@j.GetString("Item.Area.Field.Value")'> } } } <!--!Styles--> <!-- <link rel="stylesheet" href="/Files/Templates/Designs/Fusion/assets/css/main-desktop.css" /> --> <link href="/cdn/Files/Templates/Designs/Fusion/assets/css/styles_v001.css" rel="stylesheet" type="text/css"> <link href="/cdn/Files/Templates/Designs/Fusion/assets/css/responsive_v001.css" rel="stylesheet" type="text/css"> <link href="/cdn/Files/Templates/Designs/Fusion/assets/css/jquery.bxslider.css" rel="stylesheet" type="text/css"> <link href="/cdn/Files/Templates/Designs/Fusion/assets/css/new_style.css" rel="stylesheet" type="text/css"> <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet"> <!--!Scripts--> <!-- <script src="/cdn/Files/Templates/Designs/Fusion/assets/js/jquery-2.0.3.min.js"></script> <script src="/cdn/Files/Templates/Designs/Fusion/assets/js/modernizr-2.7.1.min.js"></script> --> <script src="/cdn/Files/Templates/Designs/Fusion/assets/js/jquery.min.js" type="text/javascript"></script> <script src="/cdn/Files/Templates/Designs/Fusion/assets/js/setup-home.js" type="text/javascript"></script> <script src="/cdn/Files/Templates/Designs/Fusion/assets/js/jquery.bxslider.min.js" type="text/javascript"></script> <script src="/cdn/Files/Templates/Designs/Fusion/assets/js/functions_last.js" type="text/javascript"></script> <script src="/cdn/Files/Templates/Designs/Fusion/assets/js/owl.carousel.js" type="text/javascript"></script> <link href="/cdn/Files/Templates/Designs/Fusion/assets/css/owl.carousel.css" rel="stylesheet"> <link href="/cdn/Files/Templates/Designs/Fusion/assets/css/owl.theme.css" rel="stylesheet"> <div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.0"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> @GetValue("Stylesheets") @GetValue("Javascripts") </head> <body data-pageid='@GetGlobalValue("Global:Page.ID")' data-productpage='@GetValue("Item.Area.Catalog_Page")' data-paragraph='@GetValue("Item.Area.InstantSearch_Paragraph")' data-areaid='@GetGlobalValue("Global:Area.ID")' class="body-style"> <!-- Google Tag Manager --> <noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-T93ZMR" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= '//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-T93ZMR');</script> <!-- End Google Tag Manager --> <!--[if lt IE 7]> <p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p> <![endif]--> <div id="container" filters='@GetValue("Item.Area.Filters.Value")' gallery='@GetValue("Item.Area.Gallery.Value")'> <div class="body-wrapper-style"> @* <pre>@string.Join("\n", Values.Select(e => string.Format("{0}: {1}", e.Key, System.Web.HttpUtility.HtmlEncode(e.Value))).ToArray())</pre> *@ <div class="mainHeader"> <div class="mainLogo"> @{ string imagetag = GetValue("Item.Area.Logo").ToString(); if (!string.IsNullOrEmpty(imagetag)){ string imageClean = GetValue("Item.Area.Logo").ToString().Substring(1); <a href='/Default.aspx?ID=@GetValue("DwAreaFirstPageID")'><img src='/@imageClean' name="logo" alt='@GetValue("Item.Area.Site_Name")'></a> } } </div><!-- mainLogo --> <div class="mainLinks"> @if(!string.IsNullOrEmpty(GetString("Item.Area.OnlineShopLink"))){ <div class="mobileCart"> <a href='@GetString("Item.Area.OnlineShopLink")' target="_blank"><img src="/Files/Templates/Designs/Fusion/assets/images/icon_shopping-cart_text.png" width="39" height="30" alt='Online Shop'></a> </div><!-- mobileCart --> } <div class="mainChoice"> <a class="dropList"><img src="/Files/Templates/Designs/Fusion/assets/images/icon_mobile-menu-nav_2x.png" width="39" height="24"></a> @GetValue("DwNavigation(NavMain)") </div><!-- navChoice --> </div><!-- mainLinks --> <!--Beware, razor not working here--> <!--@If(Global:Device.IsMobile == "True")--> <div class="mainMobileBar"> <div class="mainMobileLink border-top-none"> <form action="/sg/cauta" method="GET" class="formSearch"> <div class="form-group header-search-input header-search-input-style animate"> <input type="text" class="formText" name="eComQuery" id="q" size="21" maxlength="120" autocomplete="off" spellcheck="false" placeholder='find footwear'> <input type="submit" value="" class="formButton"> </div> <div class="instant_search"></div> </form> </div> @GetValue("DwNavigation(NavMainMobile)") </div><!-- mainMobileBar --> <!--@EndIf--> <!--@If(Global:Device.IsDesktop == "True")--> <div class="mainSearch"> <form action="/Default.aspx" method="GET" class="formSearch"> <div class="form-group header-search-input header-search-input-style animate"> <input type="hidden" value='@GetValue("Item.Area.SearchPage_ID")' name="ID"> <input type="text" class="formText" name="eComQuery" id="q" size="21" maxlength="120" autocomplete="off" spellcheck="false" search_page='@GetInteger("Item.Area.InstantSearchPage_ID")' placeholder='find footwear'> <input type="submit" value='' class="formButton"> </div> <div class="instant_search"></div> </form> </div><!-- mainSearch --> <!--@EndIf--> <div class="mainHelpCart"> <a class="global tooltip"> <img src="/Files/Templates/Designs/Fusion/assets/images/icon_globe_2x.png" width="38" height="38"> <span> <img class="callout" src="/Files/Templates/Designs/Fusion/assets/images/callout.gif"> Select your country / language </span> </a> @if(!string.IsNullOrEmpty(GetString("Item.Area.OnlineShopLink"))){ <div class="cart"> <a href='@GetString("Item.Area.OnlineShopLink")' class="tooltip" target="_blank"> <img class="shopping-cart" src="/Files/Templates/Designs/Fusion/assets/images/icon_shopping-cart_text.png" width="39" height="30"> <span> <img class="callout" src="/Files/Templates/Designs/Fusion/assets/images/callout.gif"> Online Shop </span> </a> @*Include("../Custom/MiniCart_B2C.cshtml")*@ </div> } </div><!-- mainHelpCart --> </div><!-- mainHeader --> </div> <div class="globalDiv"> <div class="globalHeading"> <p>Select your country / language</p> <a class="close"><img src="/Files/Templates/Designs/Fusion/assets/images/icon_close-x_2x.png" width="15" height="14" alt="close-x"></a> </div><!-- globalHeading --> <div class="globalSelection"> <ul> <li><a class="asia">Asia</a></li> <li><a class="europe">Europe</a></li> <li><a class="north-america">North America</a></li> <li><a class="middle-east-africa">Middle East/Africa</a></li> </ul> </div> <div class="globalCountries"> <div class="asia"> <ul> <li> <a class="country">Australia</a> <ul class="languages"> <li><a href="http://www.mbt.com/en-au/homepage" class="sprite sprite-en-AU">English</a></li> </ul> </li> <li> <a class="country">Hong Kong</a> <ul class="languages"> <li><a href="http://www.mbt.com/en-hk/homepage" class="sprite sprite-en-US">English</a></li> </ul> </li> <li> <a class="country">Korea</a> <ul class="languages"> <li><a href="http://www.mbt.com/en-kr/homepage" class="sprite sprite-en-US">English</a></li> </ul> </li> <li> <a class="country">China</a> <ul class="languages"> <li><a href="http://www.mbt.com/en-ch/homepage" class="sprite sprite-en-US">English</a></li> </ul> </li> </ul> <ul> <li> <a class="country">Japan</a> <ul class="languages"> <li><a href="http://jp.mbt.com" class="sprite sprite-en-US">Japanese</a></li> </ul> </li> <li> <a class="country">Taiwan</a> <ul class="languages"> <li><a href="http://www.mbt.com/en-tw/homepage" class="sprite sprite-en-US">English</a></li> </ul> </li> <li> <a class="country">Singapore</a> <ul class="languages"> <li><a href="http://www.mbt.com/en-sg/homepage" class="sprite sprite-en-SG">English</a></li> </ul> </li> <li> <a class="country">Malaysia</a> <ul class="languages"> <li><a href="http://www.mbt.com/en-my/homepage" class="sprite sprite-en-SG">English</a></li> </ul> </li> </ul> <ul> <li> <a class="country">Thailand</a> <ul class="languages"> <li><a href="http://www.mbt.com/en-th/homepage" class="sprite sprite-en-SG">English</a></li> </ul> </li> <li> <a class="country">Philippines</a> <ul class="languages"> <li><a href="http://www.mbt.com/en-ph/homepage" class="sprite sprite-en-SG">English</a></li> </ul> </li> <li> <a class="country">Indonesia</a> <ul class="languages"> <li><a href="http://www.mbt.com/en-in/homepage" class="sprite sprite-en-SG">English</a></li> </ul> </li> </ul> </div> <div class="europe"> <ul> <li> <a class="country">Austria</a> <ul class="languages"> <li><a href="http://at.mbt.com" class="sprite sprite-en-US">English</a></li> </ul> </li> <li> <a class="country">Belgium</a> <ul class="languages"> <li><a href="http://frbe.mbt.com" class="sprite sprite-en-US">French</a></li> <li><a href="http://nlbe.mbt.com/Default.aspx?lang=nl-BE" class="sprite sprite-en-US">Dutch</a></li> </ul> </li> <li> <a class="country">Denmark</a> <ul class="languages"> <li><a href="http://dk.mbt.com" class="sprite sprite-en-US">Danish</a></li> </ul> </li> <li> <a class="country">Finland</a> <ul class="languages"> <li><a href="http://fifi.mbt.com" class="sprite sprite-en-US">Finnish</a></li> </ul> </li> <li> <a class="country">Hungary</a> <ul class="languages"> <li><a href="http://hu.mbt.com" class="sprite sprite-en-US">Hungarian</a></li> </ul> </li> <li> <a class="country">Ireland</a> <ul class="languages"> <li><a href="http:///www.mbt.com/en-ie/" class="sprite sprite-en-IE">English</a></li> </ul> </li> </ul> <ul> <li> <a class="country">Italy</a> <ul class="languages"> <li><a href="http://www.mbt.com/it-it/" class="sprite sprite-en-US">Italian</a></li> </ul> </li> <li> <a class="country">Norway</a> <ul class="languages"> <li><a href="http://no.mbt.com" class="sprite sprite-en-US">Norwegian</a></li> </ul> </li> <li> <a class="country">Portugal</a> <ul class="languages"> <li><a href="http://pt.mbt.com" class="sprite sprite-en-US">Portuguese</a></li> </ul> </li> <li> <a class="country">Russia</a> <ul class="languages"> <li><a href="http://ru.mbt.com" class="sprite sprite-en-US">Russian</a></li> </ul> </li> <li> <a class="country">Spain</a> <ul class="languages"> <li><a href="http://es.mbt.com" class="sprite sprite-en-US">Spanish</a></li> </ul> </li> <li> <a class="country">Sweden</a> <ul class="languages"> <li><a href="http://se.mbt.com" class="sprite sprite-en-US">Swedish</a></li> </ul> </li> </ul> <ul> <li> <a class="country">Switzerland</a> <ul class="languages"> <li><a href="http://frch.mbt.com" class="sprite sprite-en-US">French</a></li> <li><a href="http://dech.mbt.com/Default.aspx?lang=de-CH" class="sprite sprite-en-US">German</a></li> <li><a href="http://itch.mbt.com/Default.aspx?lang=it-CH" class="sprite sprite-en-US">Italian</a></li> </ul> </li> <li> <a class="country">The Netherlands</a> <ul class="languages"> <li><a href="http://nl.mbt.com" class="sprite sprite-en-US">Dutch</a></li> </ul> </li> <li> <a class="country">United Kingdom</a> <ul class="languages"> <li><a href="http://www.mbt.com/en-gb/homepage" class="sprite sprite-en-GB">English</a></li> </ul> </li> <li> <a class="country">Germany</a> <ul class="languages"> <li><a href="http://de.mbt.com/Default.aspx?lang=de-DE" class="sprite sprite-en-US">German</a></li> </ul> </li> <li> <a class="country">Cyprus</a> <ul class="languages"> <li><a href="http://gr.mbt.com" class="sprite sprite-en-US">Greek</a></li> </ul> </li> <li> <a class="country">France</a> <ul class="languages"> <li><a href="http://fr.mbt.com/Default.aspx?lang=fr-FR" class="sprite sprite-en-US">French</a></li> </ul> </li> </ul> </div> <div class="north-america"> <ul> <li> <a class="country">United States of America</a> <ul class="languages"> <li><a href="http://www.mbt.com/en-us/homepage" class="sprite sprite-en-US">English</a></li> </ul> </li> </ul> <ul> <li> <a class="country">Canada</a> <ul class="languages"> <li><a href="http://www.mbt.com/en-ca/homepage" class="sprite sprite-en-CA">English</a></li> </ul> </li> </ul> <!--<ul> <li> <a class="country">Mexico</a> <ul class="languages"> <li><a href="http://mx.mbt.com" class="sprite sprite-en-US">Mexico</a></li> </ul> </li> </ul> --> </div> <div class="middle-east-africa"> <ul> <li> <a class="country">United Arab Emirates</a> <ul class="languages"> <li><a href="http://www.mbt.com/en-uae/homepage" class="sprite sprite-en-US">English</a></li> </ul> </li> </ul> <ul> <li> <a class="country">Turkey</a> <ul class="languages"> <li><a href="http://www.mbt.com/tr-en/homepage" class="sprite sprite-en-US">English</a></li> </ul> </li> </ul> </div> </div> </div><!-- globalDiv --> @{ BrandFusion.Dw.GeoRedirect.Service.StoreCultureCode(BrandFusion.Dw.GeoRedirect.Service.RetrieveAreaCultureCode()); } <div id="main">@GetValue("DwContent(main)")</div> <div class="theGridMobile"> <div id="main mobile">@GetValue("DwContent(mainmobile)")</div> </div><div></div> @{ int testimonial_id = 0; if (Pageview.Area.Item["Testimonial_Paragraph_ID"]!=null) { Int32.TryParse(Pageview.Area.Item["Testimonial_Paragraph_ID"].ToString(), out testimonial_id); } } <div class="mbtSubscribeForm"> @if(GetGlobalValue("Global:Item.Page.Hide_Footer").ToString() == "False"){ @RenderParagraphContent(GetInteger("Item.Area.NewsletterSubscribeParagraph")) @RenderParagraphContent(GetInteger("Item.Area.NewsletterThankYou")) } </div><!-- mbtSubscribeForm --> <div class="socialFooter"> <div class="socialIcons"> <p class="media"> <a href='@GetValue("Item.Area.Facebook_Link")' target="_blank" title='facebook'> <i class="fa fa-facebook fa-4x"></i> </a> @* <a href='@GetValue("Item.Area.Twitter_Link")' target="_blank" title='twitter'> <i class="fa fa-twitter fa-4x"></i> </a> *@ <a href='@GetValue("Item.Area.Youtube_Link")' target="_blank" title='youtube'> <i class="fa fa-youtube fa-4x"></i> </a> @* <a href='@GetValue("Item.Area.GooglePlus Link")' target="_blank" title='google plus'> <i class="fa fa-google-plus fa-4x"></i> </a> *@ </p> @RenderParagraphContent(@testimonial_id) </div><!-- socialIcons --> <div class="facebookSocialPlugin"> <div class="facebookContainer"> <div class="fb-like-box" data-href="http://www.facebook.com/MBTinternational" data-width="605px" data-height="240px" data-colorscheme="light" data-show-faces="true" data-header="false" data-stream="false" data-show-border="true"> </div><!-- fb-like-box --> </div><!-- facebookContainer --> </div><!-- facebookSocialPlugin --> </div><!-- socialFooter --> <div class="navFooter"> <div class="navLinks"> @GetValue("DwNavigation(NavBottom)") </div><!-- navLinks --> <div class="navCountries"> <!-- <p><a href="">Australia <span>(English)</span><img class="country-default" src="/cdn/Files/Templates/Designs/Fusion/assets/images/icon_country.png" width="16" height="11" alt='country default'></a></p> --> <p><img class="mbt-logo-footer" src="/cdn/Files/Templates/Designs/Fusion/assets/images/logo_mbt-logo-footer_2x.png" width="134" height="47" alt='@GetValue("Item.Area.Site_Name")'></p> </div><!-- navCountries --> </div><!-- navFooter --> <div class="copyFooter"> <div class="copyRight"> <p>&copy; 2014 by Masai International Pte Ltd. All Rights Reserved.</p> </div><!-- copyRight --> <div class="designBy"> </div><!-- designBy --> </div><!-- navFooter --> </div> <!--Styles part 2--> <!-- <link rel="stylesheet" href="/cdn/Files/Templates/Designs/Fusion/assets/css/slider/ion.rangeSlider.css" /> <link rel="stylesheet" href="/cdn/Files/Templates/Designs/Fusion/assets/css/slider/ion.rangeSlider.skinNice.css" /> <link rel="stylesheet" href="/cdn/Files/Templates/Designs/Fusion/assets/css/slider/normalize.min.css" /> --> <link rel="stylesheet" href="/cdn/Files/Templates/Designs/Fusion/assets/css/lightbox.css"> <!--!Scripts part 2--> <!-- <script src="/cdn/Files/Templates/Designs/Fusion/assets/js/bootstrap.min.js"></script> --> <script src="/cdn/Files/Templates/Designs/Fusion/assets/js/main.js"></script> <script src="/cdn/Files/Templates/Designs/Fusion/assets/js/jquery.jcarousel.js"></script> <script src="/cdn/Files/Templates/Designs/Fusion/assets/js/jquery.zoom.min.js"></script> <!-- <script src="/cdn/Files/Templates/Designs/Fusion/assets/js/slider/ion.rangeSlider.min.js"></script> --> <script src="/cdn/Files/Templates/Designs/Fusion/assets/js/lightbox.min.js"></script> <!--@Snippet(footerJS)--> </body>