01-04-2020, 05:29 AM
(This post was last modified: 01-04-2020, 05:31 AM by obyknovenius.)
From source code of chromium I figured out the command that actually runs to start VM behind the GUI when you install Linux (Beta):
sudo crosvm run \
--cpus 6 \
--mem 3000 \
--socket /run/crosvm.sock \
-r /run/imageloader/cros-termina/12371.22.0/vm_rootfs.img \
/run/imageloader/cros-termina/12371.22.0/vm_kernel
Where mem is the maximum memory vm allowed to use and the value is about 2/3 of all memory the memory. From journalctl output I found that vm cannot be started with the error: cannot allocate memory errno 12.. If you remove this mem option it actually starts!
I tried to enable compact memory flag like here: https://stackoverflow.com/questions/4646...-available. I also tried to play with other kernel flags (don't remember already).
Can you use Mac to build chromium? Or you did install Ubuntu on it?
sudo crosvm run \
--cpus 6 \
--mem 3000 \
--socket /run/crosvm.sock \
-r /run/imageloader/cros-termina/12371.22.0/vm_rootfs.img \
/run/imageloader/cros-termina/12371.22.0/vm_kernel
Where mem is the maximum memory vm allowed to use and the value is about 2/3 of all memory the memory. From journalctl output I found that vm cannot be started with the error: cannot allocate memory errno 12.. If you remove this mem option it actually starts!
I tried to enable compact memory flag like here: https://stackoverflow.com/questions/4646...-available. I also tried to play with other kernel flags (don't remember already).
Can you use Mac to build chromium? Or you did install Ubuntu on it?