Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
We're working with a .pbix that contains a custom visual that uses a lot of memory because it displays complex structures with Webgl. Using the report on PowerBi Web works correctly, if we open the report in PowerBi Desktop we get the error 'this report ran out of memory, and application must close.'
We discovered that CefSharp component fails because of the default memory limit. We created a .Net project with CefSharp and reproduced the problem. we discovered that it is possible to configure the amount of managed memory during CefSharp initialization (https://stackoverflow.com/questions/55099372/cefsharp-chromium-javascript-increase-memory-limit)
CefSettings settings = new CefSettings();
settings.CefCommandLineArgs.Add("--js-flags", "--max_old_space_size=16384");
Actually we can load under CefShap component a report page that uses more than 3gb of memory.
It would be useful to handle this parameter in PowerBi Desktop to avoid fails when using memory-consuming reports.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.