Open georgettica opened 2 years ago
docker vm resources
Hey @georgettica , it seems like the memory requirements are missing from the doc, it should indicate that building the image needs more than 2GB of memory.
4Gi did the trick, but now all of my processes (aside of ES) are crashing
docker-compose ps
Name Command State Ports
-----------------------------------------------------------------------------------------------------------
monocle_api_1 monocle-api --port 9898 Exit 1
monocle_crawler-legacy_1 monocle --elastic-conn ela ... Exit 1
monocle_crawler_1 macroscope Exit 1
monocle_elastic_1 /tini -- /usr/local/bin/do ... Up (healthy) 0.0.0.0:9200->9200/tcp, 9300/tcp
monocle_web_1 /bin/sh -c /bin/start.sh Exit 1
Had this issue while running the tool locally with docker-compose up
.
Setting
mem_limit: 8G
mem_reservation: 4G
for api
and crawler
helped. 4G mentioned above was not enough.
I think also this is not tested on each commit, so we might also need to add automation regarding min mem required
that was on the
api
componentsecond run gave
running on macos 16" (non-m1)