Я создал виртуальную машину с помощью Alpine-3.7 и пытаюсь запустить контейнер с помощью elasticsearch. Ситуация с памятью ВМ:
alpine:~/elastic$ free -m
total used free shared buffers cached
Mem: 7483 242 7241 0 34 128
-/+ buffers/cache: 79 7404
Swap: 4095 0 4095
Когда я пытаюсь запустить elasticsearch, я получаю эту ошибку:
elasticsearch | OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x0000637299000000, 2555904, 1) failed; error='Operation not permitted' (errno=1)
elasticsearch | OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00007337ad000000, 2555904, 1) failed; error='Operation not permitted' (errno=1)
elasticsearch | #
elasticsearch | # There is insufficient memory for the Java Runtime Environment to continue.
elasticsearch | # Native memory allocation (mmap) failed to map 2555904 bytes for committing reserved memory.
elasticsearch | # Can not save log file, dump to screen..
elasticsearch | #
elasticsearch | # There is insufficient memory for the Java Runtime Environment to continue.
elasticsearch | # Native memory allocation (mmap) failed to map 2555904 bytes for committing reserved memory.
elasticsearch | # Possible reasons:
elasticsearch | # The system is out of physical RAM or swap space
elasticsearch | # In 32 bit mode, the process size limit was hit
elasticsearch | # Possible solutions:
elasticsearch | # Reduce memory load on the system
elasticsearch | # Increase physical memory or swap space
elasticsearch | # Check if swap backing store is full
elasticsearch | # Use 64 bit Java on a 64 bit OS
elasticsearch | # Decrease Java heap size (-Xmx/-Xms)
elasticsearch | # Decrease number of Java threads
elasticsearch | # Decrease Java thread stack sizes (-Xss)
elasticsearch | # Set larger code cache with -XX:ReservedCodeCacheSize=
elasticsearch | # This output file may be truncated or incomplete.
elasticsearch | #
elasticsearch | # Out of Memory Error (os_linux.cpp:2651), pid=29, tid=0x00007337c59ab700
Я не скопировал всю ошибку. Кто-нибудь может мне помочь?