The solution executes the following command to allocate memory initially. The reason for the error is that the memory is not enough.
the ES image I downloaded is 5.6.8. Modify the version number according to my own situation
docker run - D - P 9200:9200 - P 9300:9300 -- name = es_ " -e ES_ JAVA_ OPTS="-Xms256m -Xmx256m" elas ticsearch:5.6.8 code>
after the command is executed, the pro test is available
Read More:
- os::commit_memory(0x0000000538000000, 11408506880, 0) failed; error=‘Cannot allocate memory‘
- Kvm internal error: process exited :cannot set up guest memory ‘pc.ram‘:Cannot allocate memory
- Swap off failed: cannot allocate memory
- Remember a virtual machine expansion swapoff failed: cannot allocate memory
- The installation of docker desktop failed. After successful installation, the docker can not be started
- CentOS execution command error: – bash: fork: cannot allocate memory processing / viewing process number
- Server composer install error: proc_open(): fork failed-Cannot allocate memory
- Mysql cannot allocate memory for the buffer pool solution
- RuntimeError: CUDA out of memory. Tried to allocate 600.00 MiB (GPU 0; 23.69 GiB total capacity)
- The docker runtime container reported an error: error response from daemon: OCI runtime create failed
- [Solved] Android compile error: cannot allocate memory
- docker Error creating default “bridge“ network: failed to allocate gateway Address already in use
- An error was reported during MySQL 6.0 installation: start service failed
- An error is reported in the compiler require of laravel: installation failed, reversing/ composer.json to its original content.
- The docker copies the win10 host file into the docker container. An error is reported: copying between containers is not supported
- Docker starts the image and reports an error. Iptables failed: iptables — wait – t NAT – a docker – P TCP
- An error is reported when the jeecg boot project connects to the MySQL database running on docker
- Error in startup after the supervisor modifies the configuration file: error: cannot open an HTTP server: socket.error reported errno.eaddnotavail
- Openproj reported error errno = 193 in 64 bit operating system
- Error reported when Windows builds docker image: failed to create LLB definition: 403 Forbidden