docker-magento
docker-magento copied to clipboard
Grunt maximum CPU usage by the container, the portal can not load
Description Soft version in a container: Magento 2.4.6-p2 grunt-cli v1.4.3 grunt v1.5.3
After installing Grunt bin/setup-grunt, when I try to load the store site the CPU usage goes to the maximum. The site cannot load. After running bin/grunt watch --verbose, I get these messages:
How much memory do you have allocated to Docker? Also, how many stores are you trying to compile with grunt?
I have 8GB of memory assigned to the docker. I compiled one store.
After restarting the containers, I invoked the grunt clean/exec commands, again there was a load increase on the CPU and it lasted about 5-10min and everything went down to normal levels.
Later I repeated grunt clean/exec again, restarted the containers and such increase no longer occurred.