Open syuu1228 opened 3 years ago
@penberg / @syuu1228 we need to document the memory limitations for offline-installer - what is the minimum memory size offline-installer can work with
Seems like the error causes because of scylla binary size (1.4GB), memory size = 2.0GB should be enough.
$ ls -lh libexec/scylla
-rwxr-xr-x. 1 syuu docker 1.4G Jan 4 13:05 libexec/scylla
I tested on 0.5GB / 1.0GB / 2.0GB RAM VMs, 2GB VM worked fine, others cause bad_alloc.
When I tried to run offline installer on Vagrant based VM, I got following error:
This seems like out of memory, since the VM only has 1GB memory. So the error is not really a bug, but we at least better to describe it in the document.
Note that the error occurs at patching to libexec/scylla:
Probably because it is largest binary, uses more memory.