Fatal Process OOM in insufficient memory to create an Isolate | Error while building mapp View

Hi,
Colleague of mine is getting the error while compiling mapp View project.
Issue is with both the installed AS version 4.11 and 4.12.
Tried uninstalling and installing AS.
AR versions tried K4.93 and J 4.93
mapp View versions tried: 5.24.3, 5.23 and 5.15.1



Anyone has an idea what this is related to?

Hi,

haven’t seen such an error right now, but it looks like some kind of “Out Of Memory” (OOM) exception, maybe because of no more DRAM available while the compile process is running?

Is it a VM where Automation Studio is running inside?

  • If yes how much DRAM is assigned to the VM?
  • If no, how much DRAM does the notebook have?

Best regards!

Agree with Alexander, it looks like a target where AS is installed has not enough free memory.

@alexander.hefner,
This is not a VM, the memory installed is 64GB and 15 GB of is it consumed.
Even a page memory of 18GB did not help.



Pro

Hi,

Did AS is running as Administrator ?

The project you compile looks like mvHighlight sample, did you had some warnings opening it in AS4.12, I already see from some samples openned in 4.12 some warning popups appears when we try to start ARSim or stop ARSim.

I always open AS as administrator for every versions to avoid some troubles.

Another question, in Project->Change runtime versions can you check that it’s corresponding version of mappView and be sure apply to trigger an Update of libraries declaration.

One thing that’s looking strange is the error about grunt build output file is missing.

Hope this can help!
Regards,
Florent

@florent.boissadier The issue reported by Renjith is present on my system. I followed the solution you suggested, but I am still encountering the same error, even in admin mode. We tested multiple projects, all yielding the same result. However, when we transferred the same projects to another machine, they worked fine, so I believe the issue is not project related. Additionally, we have updated all the library versions. We also had a screen-sharing session with the B&R support team, but they were unable to pinpoint the exact cause of the problem.

Hi,

Did you identified differences between machine where it works and machine where this crash ?

Due to the fact that mappView is using NodeJs to compile, I’m pretty sure that you need to check about NodeJs on the machine where it didn’t works.

I’m not an expert in NodeJs but maybe 2 differents versions on the same system can cause troubles.

To be honest when I know I will have a lot of tools on the same PC I use Virtual machine to box them.

Hope that could help !
Regards,
Florent

@florent.boissadier I have just one version of Node.js installed, and I tried uninstalling and reinstalling it, but those attempts didn’t resolve the issue. The project runs fine on a virtual machine, and I couldn’t find any differences between the setup where it works and my own system

I’m pretty sure that there is some “things” in node js environnement that cause troubles.
Did you install some package in global maybe something like “grunt” ?