arcadeanalytics
arcadeanalytics copied to clipboard
Elastic Search memory allocation failed when deploying to EC2
Note for future EC2 usage by others:
I ran into a memory allocation failure when trying to launch the app within an EC2 t2.small instance. I solved this by using at least a t2.large instance because elastic search requires at least 4GB of memory.
Feb 20 01:27:37 ip-XXX-XX-XX-XX docker-compose[3339]: arcadeanalytics-elasticsearch_1 | # There is insufficient memory for the Java Runtime Environment to continue.
Feb 20 01:27:37 ip-XXX-XX-XX-XX docker-compose[3339]: arcadeanalytics-elasticsearch_1 | # Native memory allocation (mmap) failed to map 4207738880 bytes for committing reserved memory.
Feb 20 01:27:37 ip-XXX-XX-XX-XX docker-compose[3339]: arcadeanalytics-elasticsearch_1 | # An error report file with more information is saved as:
Feb 20 01:27:37 ip-XXX-XX-XX-XX docker-compose[3339]: arcadeanalytics-elasticsearch_1 | # /tmp/hs_err_pid1.log
Just made this issue to log it and be helpful for others. Closing it.
Thank you very much for the advice, I keep the issue open until we will document the installation process in a better way.