Giter Site home page Giter Site logo

Comments (6)

katzefudder avatar katzefudder commented on May 24, 2024 3

Just stumbled upon the issue you mentioned @MagedMYoussef
I assume you're using Docker on Win or Mac. If so, make sure to allocate plenty of memory to your running Docker Desktop (6GB is plenty for the https://github.com/dotCMS/docker/tree/master/examples/01-single-node-clean)
Hope that helps

from docker.

wt-bryan avatar wt-bryan commented on May 24, 2024

@katzefudder If you enable WSL2 support, Docker for Windows doesn’t allow you to allow you to allocate a specific amount of max or min memory from the GUI. I was able to get around this issue via the workaround explained here until DotCMS 5.3.5. I’m now seeing the same issue again.

from docker.

wt-bryan avatar wt-bryan commented on May 24, 2024

I switched to DotCMS 5.3.6.1 just now and everything worked fine again.

from docker.

tvolkov avatar tvolkov commented on May 24, 2024

I had similar issue on my Mac when trying to run 01-single-node-clean configuration, i.e. elasticsearch would just crash with
dotcms_elasticsearch_1 exited with code 137 message
Increasing docker desktop memory to 6Gb solved the problem

from docker.

TKousadianos avatar TKousadianos commented on May 24, 2024

hey sorry for the noob question, how do you set the memory to 6Gb?

from docker.

wt-bryan avatar wt-bryan commented on May 24, 2024

In Windows or MacOS? If Windows, if you are non-WSL2, you can right-click on the little whale icon, click on 'Settings', and then I believe it is under 'Resources'. If you are using the WSL2-based engine, I posted a link above, but the TL;DR is that you can set it via command line:
wsl -d docker-desktop sysctl -w vm.max_map_count=262084
Note that 262,084 is the minimum

from docker.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.