Smartstore icon indicating copy to clipboard operation
Smartstore copied to clipboard

Unable to allocate memory: bad allocation while debugging

Open srht opened this issue 6 years ago • 2 comments

When I tried to debug the application firstly it required LibSassHost.Native.win-x86 package then after installed the package it gave error below after a long loading time:

BundleTransformer.Core.Translators.AssetTranslationException: 'During translation of SCSS code, readed from the file '/Administration/Content/theme.scss', to CSS code syntax error has occurred. See more details:

Internal Error: Unable to allocate memory: bad allocation

Error code: 2 Description: Unable to allocate memory: bad allocation'

Stack: This exception was originally thrown at this call stack: [External Code] SmartStore.Web.Framework.Theming.Assets.AssetTranslator.TranslateInternal(BundleTransformer.Core.Assets.IAsset) in AssetTranslator.cs SmartStore.Web.Framework.Theming.Assets.AssetTranslator.Translate(BundleTransformer.Core.Assets.IAsset) in AssetTranslator.cs [External Code] SmartStore.Web.Framework.Theming.SassCssHttpHandler.TranslateAssetCore(BundleTransformer.Core.Assets.IAsset, BundleTransformer.Core.Transformers.ITransformer, bool) in CssHttpHandler.cs SmartStore.Web.Framework.Theming.CssHttpHandlerBase.TranslateAsset(BundleTransformer.Core.Assets.IAsset, BundleTransformer.Core.Transformers.ITransformer, bool) in CssHttpHandler.cs [External Code]

srht avatar Nov 13 '20 22:11 srht

Hi, is the latest C++ Runtime installed? Regards, Michael

Michael-Herzog avatar Nov 16 '20 09:11 Michael-Herzog

Hi, Thank you. I installed the C++ runtime then nothing changed. After that i tried this solution: Tools -> Options -> search for IIS -> tick Use the 64 bit version of IIS Express for web sites and projects. (https://stackoverflow.com/a/42380972/547271)

srht avatar Nov 16 '20 20:11 srht