Docker Community Forums

Share and learn in the Docker community.

Java Runtime Environment has Insufficient Memory

Hello,

I have encountered this error when I tried to create a Docker container:

There is insufficient memory for the Java Runtime Environment to continue.

Native memory allocation (mmap) failed to map 65536 bytes for committing reserved memory.

I am on Docker for Windows. I have tried increasing the RAM for my VM in HyperV Manager, but to no avail. I would really appreciate some help! Here is the link to the GitHub repository with all of the build files: